diff options
Diffstat (limited to 'main/xf86miscproto')
-rw-r--r-- | main/xf86miscproto/APKBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/main/xf86miscproto/APKBUILD b/main/xf86miscproto/APKBUILD index 77b83bcffc..4b91c70f05 100644 --- a/main/xf86miscproto/APKBUILD +++ b/main/xf86miscproto/APKBUILD @@ -1,24 +1,34 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86miscproto pkgver=0.9.3 -pkgrel=1 +pkgrel=2 pkgdesc="X11 XFree86-Miscellaneous extension wire protocol" url="http://xorg.freedesktop.org/" -arch="all" +arch="noarch" license="custom" depends="" makedepends="" source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="ca63bbb31cf5b7f37b2237e923ff257a xf86miscproto-0.9.3.tar.bz2" |