diff options
Diffstat (limited to 'main/libmaa/APKBUILD')
-rw-r--r-- | main/libmaa/APKBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/main/libmaa/APKBUILD b/main/libmaa/APKBUILD index 4b7ded5ee8..537ed69662 100644 --- a/main/libmaa/APKBUILD +++ b/main/libmaa/APKBUILD @@ -14,26 +14,19 @@ install="" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz" options="libtool" -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} + +builddir="${srcdir}/${pkgname}-${pkgver}" build() { - cd "$_builddir" - ./configure --prefix=/usr - make + cd "$builddir" + update_config_guess || return 1 + ./configure --prefix=/usr + make || return 1 } package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install + cd "$builddir" + make DESTDIR="${pkgdir}" install || return 1 } md5sums="01dab2cde2e0a322653e45bfa63537ee libmaa-1.3.2.tar.gz" |