diff options
-rw-r--r-- | community/hyphen/APKBUILD | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/community/hyphen/APKBUILD b/community/hyphen/APKBUILD index b515530fc1..6025435fd9 100644 --- a/community/hyphen/APKBUILD +++ b/community/hyphen/APKBUILD @@ -8,38 +8,27 @@ url="http://hunspell.sourceforge.net/" arch="all" license="GPL2+ LGPL2+ MPL 1.1" subpackages="$pkgname-dev $pkgname-en" -depends="" depends_dev="perl" makedepends="$depends_dev" -source="http://downloads.sourceforge.net/hunspell/$pkgname-$pkgver.tar.gz - " +source="http://downloads.sourceforge.net/hunspell/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - 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" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --disable-dependency-tracking \ - --enable-fast-install \ - || return 1 - make || return 1 + --enable-fast-install + make } package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install } dev() { |