aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-util
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-05-15 16:33:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-05-15 16:33:02 +0200
commitc4e21d0f343910971d8f930fdd3369af61583110 (patch)
treea31246928009d09e6774fc6e71f672d469641915 /main/xcb-util
parent1b49b02c4b752fccfe6f5275914cc62458855663 (diff)
downloadaports-c4e21d0f343910971d8f930fdd3369af61583110.tar.bz2
aports-c4e21d0f343910971d8f930fdd3369af61583110.tar.xz
main/xcb-util: modernize abuild and rebuild
Diffstat (limited to 'main/xcb-util')
-rw-r--r--main/xcb-util/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/main/xcb-util/APKBUILD b/main/xcb-util/APKBUILD
index aa7edbd9b1..5f479efe55 100644
--- a/main/xcb-util/APKBUILD
+++ b/main/xcb-util/APKBUILD
@@ -6,33 +6,25 @@ pkgdesc="Utility libraries for XC Binding"
url="http://xcb.freedesktop.org"
arch="all"
license="GPL"
-subpackages="$pkgname-dev"
-depends=
depends_dev="libxcb-dev"
-makedepends="m4 $depends_dev gperf"
+makedepends="$depends_dev m4 gperf"
+subpackages="$pkgname-dev"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="2e97feed81919465a04ccc71e4073313 xcb-util-0.4.0.tar.bz2"
-sha256sums="46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9 xcb-util-0.4.0.tar.bz2"
+
sha512sums="e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e xcb-util-0.4.0.tar.bz2"