aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsexy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libsexy/APKBUILD')
-rw-r--r--main/libsexy/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libsexy/APKBUILD b/main/libsexy/APKBUILD
index e3423d53b6..ea37def32e 100644
--- a/main/libsexy/APKBUILD
+++ b/main/libsexy/APKBUILD
@@ -10,9 +10,16 @@ subpackages="$pkgname-dev $pkgname-doc"
makedepends="gtk+-dev libxml2-dev iso-codes"
source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build ()
{
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,7 +30,7 @@ build ()
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/libsexy.a
find "$pkgdir" -name '*.la' -delete