diff options
Diffstat (limited to 'main/libxxf86misc')
-rw-r--r-- | main/libxxf86misc/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD index 1529d841ad..adea8e91b3 100644 --- a/main/libxxf86misc/APKBUILD +++ b/main/libxxf86misc/APKBUILD @@ -12,8 +12,15 @@ makedepends="pkgconfig libxext-dev libx11-dev xf86miscproto" source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-$pkgver.tar.bz2" depends_dev="xf86miscproto libx11-dev libxext-dev" +_builddir="$srcdir/libXxf86misc-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/libXxf86misc-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,7 +31,7 @@ build() { } package() { - cd "$srcdir"/libXxf86misc-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } |