blob: 3ba380faf491b9a1e3c8a95b2e519746f5e6bbc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
pkgname=wbg
pkgver=1.1.0
pkgrel=1
pkgdesc="Super simple wallpaper application"
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/wbg
license=(mit)
makedepends=('meson' 'ninja' 'wayland-protocols' 'tllist>=1.0.1')
depends=('wayland' 'pixman' 'libjpeg-turbo' 'libpng')
source=()
pkgver() {
cd ../.git &> /dev/null && git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
head -3 ../meson.build | grep version | cut -d "'" -f 2
}
build() {
meson --prefix=/usr --buildtype=release --wrap-mode=nofallback ..
ninja
}
package() {
DESTDIR="${pkgdir}/" ninja install
}
|