aboutsummaryrefslogtreecommitdiffstats
path: root/main/enchant/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-02 18:37:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-02 18:37:03 +0000
commit84bae70a2cba7ff39657d52361876b83f0e0af36 (patch)
treeda5d9c0312bcb7e1542660bf385e41ef7fc9e92c /main/enchant/APKBUILD
parent5e53e9d767d907b8df81fb8019dd9fdf278704db (diff)
downloadaports-84bae70a2cba7ff39657d52361876b83f0e0af36.tar.bz2
aports-84bae70a2cba7ff39657d52361876b83f0e0af36.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/enchant/APKBUILD')
-rw-r--r--main/enchant/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD
index 9788bead6c..8caf159a6b 100644
--- a/main/enchant/APKBUILD
+++ b/main/enchant/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="glib-dev"
makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev"
source="http://www.abisource.com/downloads/$pkgname/$pkgver/$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 \
@@ -24,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
#rm "$pkgdir"/usr/lib/*.la
find "$pkgdir" -iname *.la -delete