blob: 071b62c0a8343c19d151c15257698f63df2ec9b3 (
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
25
|
pkgname=wbg
pkgver=1.2.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' 'libwebp')
source=()
changelog=CHANGELOG.md
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
}
|