summaryrefslogtreecommitdiff
path: root/user/appres/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/appres/APKBUILD')
-rw-r--r--user/appres/APKBUILD33
1 files changed, 14 insertions, 19 deletions
diff --git a/user/appres/APKBUILD b/user/appres/APKBUILD
index 49dcb6115..0f8b4de41 100644
--- a/user/appres/APKBUILD
+++ b/user/appres/APKBUILD
@@ -1,38 +1,33 @@
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=appres
-pkgver=1.0.5
+pkgver=1.0.7
pkgrel=0
pkgdesc="list X application resource database"
-url="https://xorg.freedesktop.org/"
+url="https://www.X.org/"
arch="all"
license="X11"
depends=""
-makedepends="libx11-dev libxt-dev xproto"
-install=""
+makedepends="libx11-dev libxt-dev xproto meson"
subpackages="$pkgname-doc"
-source="https://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.bz2"
+source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.xz"
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ meson setup \
+ -Dprefix=/usr \
+ -Dsysconfdir=/etc \
+ -Dmandir=/usr/share/man \
+ -Dlocalstatedir=/var \
+ build
+ meson compile -C build
}
check() {
- cd "$builddir"
- make check
+ meson test -C build
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install -C build
}
-sha512sums="70825563cd80f0f433c48ab2fdae888072939c1b22fb22340b70b9444c97916275ed92c9e5bf9a06bb76c32a5371b89ff7c0211a9a47a227c88311078c2c4137 appres-1.0.5.tar.bz2"
+sha512sums="5948f869124dd7160ffe109b0fc7ccdca45c3b3f551a382a0bcf2c2af9e3832b0d4451e2868ca93a38de8e8e2caf1946ac72936b3256e99a32437d0ddd937a60 appres-1.0.7.tar.xz"