diff options
Diffstat (limited to 'main/kbproto')
-rw-r--r-- | main/kbproto/APKBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/kbproto/APKBUILD b/main/kbproto/APKBUILD index aca9f81de6..4d6a02f5e4 100644 --- a/main/kbproto/APKBUILD +++ b/main/kbproto/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kbproto pkgver=1.0.7 -pkgrel=1 +pkgrel=2 pkgdesc="X11 XKB extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" @@ -9,27 +9,27 @@ license="MIT" depends="" makedepends="" source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" +subpackages="$pkgname-doc" -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - cd "$_builddir" -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="94afc90c1f7bef4a27fdd59ece39c878 kbproto-1.0.7.tar.bz2" -sha256sums="f882210b76376e3fa006b11dbd890e56ec0942bc56e65d1249ff4af86f90b857 kbproto-1.0.7.tar.bz2" sha512sums="49f24bfd11ee4ef0de658a1f55bcfb4b3a1f7057d90137b899ea3d4ecc40cebde97926a3f4315ddca4ae28d32b2d15f16fda993296acffdb4c007d2f84a39a22 kbproto-1.0.7.tar.bz2" |