diff options
Diffstat (limited to 'main/glproto/APKBUILD')
-rw-r--r-- | main/glproto/APKBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/main/glproto/APKBUILD b/main/glproto/APKBUILD index 6da1cdd1ba..017c655fb4 100644 --- a/main/glproto/APKBUILD +++ b/main/glproto/APKBUILD @@ -1,34 +1,28 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=glproto pkgver=1.4.17 -pkgrel=1 +pkgrel=2 pkgdesc="X11 OpenGL extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" +options="!check" # No test suite. depends="" -makedepends="" +makedepends="util-macros" source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" -} - build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="5565f1b0facf4a59c2778229c1f70d10 glproto-1.4.17.tar.bz2" sha256sums="adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40 glproto-1.4.17.tar.bz2" |