diff options
Diffstat (limited to 'main/mtx/APKBUILD')
-rw-r--r-- | main/mtx/APKBUILD | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/main/mtx/APKBUILD b/main/mtx/APKBUILD index 5fb9a720f3..294003ee5a 100644 --- a/main/mtx/APKBUILD +++ b/main/mtx/APKBUILD @@ -13,8 +13,15 @@ install="" subpackages="" source="http://downloads.sourceforge.net/mtx/$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 \ @@ -22,6 +29,10 @@ build() { --datadir=/usr/share \ || return 1 make || return 1 +} + +package() { + cd "$_builddir" make prefix="$pkgdir" install } |