aboutsummaryrefslogtreecommitdiffstats
path: root/main/glproto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/glproto/APKBUILD')
-rw-r--r--main/glproto/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/glproto/APKBUILD b/main/glproto/APKBUILD
index d6b9af13a1..9c95c70de7 100644
--- a/main/glproto/APKBUILD
+++ b/main/glproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -21,7 +28,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="3847963c1b88fd04a030b932b0aece07 glproto-1.4.16.tar.bz2"