aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/hunspell/APKBUILD')
-rw-r--r--main/hunspell/APKBUILD16
1 files changed, 14 insertions, 2 deletions
diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD
index 26aa2c844c..ead098f1ec 100644
--- a/main/hunspell/APKBUILD
+++ b/main/hunspell/APKBUILD
@@ -9,13 +9,20 @@ license="GPL LGPL MPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gettext-dev"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ fix-includes.patch
+ "
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -36,4 +43,9 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="3121aaf3e13e5d88dfff13fb4a5f1ab8 hunspell-1.3.2.tar.gz"
+md5sums="3121aaf3e13e5d88dfff13fb4a5f1ab8 hunspell-1.3.2.tar.gz
+17ccb7870adf6c15d44db451a05ed139 fix-includes.patch"
+sha256sums="b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd hunspell-1.3.2.tar.gz
+b2beb505d7bf92218ad8bc9e3da772d4fe69129aaa2f9974bec8802f8a0b2644 fix-includes.patch"
+sha512sums="fdc165af6fc7d66b858184e34851fb6d8022736af4133fe51535afcadd9c7fdb824c05c3d33b948fafcea165ccc23f5918adb7d81e5eeb5525c05abda0cbd43c hunspell-1.3.2.tar.gz
+fc80b90bdb001fc0771a74b3464b429057446b4314bcd8d9957ba00ea9410a77331e38c8225e91dfa2b4984281b701ea86b2bcd8dcd8266ea59f4f3b9cb74546 fix-includes.patch"