aboutsummaryrefslogtreecommitdiffstats
path: root/testing/snowball
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-09-29 11:55:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-09-29 11:55:14 +0000
commit91f0aee999aa2af8122e5d5aba7a1f7d8616f759 (patch)
tree1d15e93b9db5986e598d6896bc1c50e8f69e45d6 /testing/snowball
parenteda5610df0b49c03ba26801183eeb898cfd04faf (diff)
downloadaports-91f0aee999aa2af8122e5d5aba7a1f7d8616f759.tar.bz2
aports-91f0aee999aa2af8122e5d5aba7a1f7d8616f759.tar.xz
testing/snowball: changed source using abuild snapshot. Snowball doesn't support versioning atm
Diffstat (limited to 'testing/snowball')
-rw-r--r--testing/snowball/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/testing/snowball/APKBUILD b/testing/snowball/APKBUILD
index a530461362..8808bbddcf 100644
--- a/testing/snowball/APKBUILD
+++ b/testing/snowball/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=snowball
_pkgname=libstemmer
-pkgver=20111029
+pkgver=0_git20140929
pkgrel=0
pkgdesc="Snowball rule-based stemming algorithms"
url="http://snowball.tartarus.org"
@@ -13,9 +13,10 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="http://snowball.tartarus.org/dist/${_pkgname}_c.tgz"
-
-_builddir="$srcdir"/${_pkgname}_c
+disturl="dev.alpinelinux.org:/archive/$pkgname/"
+snapshot="full"
+source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
@@ -25,13 +26,13 @@ build() {
package() {
cd "$_builddir"
install -d ${pkgdir}/usr/bin || return 1
- install ${srcdir}/libstemmer_c/stemwords ${pkgdir}/usr/bin || return 1
+ install stemwords ${pkgdir}/usr/bin || return 1
install -d ${pkgdir}/usr/include || return 1
- install ${srcdir}/libstemmer_c/include/libstemmer.h ${pkgdir}/usr/include || return 1
+ install include/libstemmer.h ${pkgdir}/usr/include || return 1
install -d ${pkgdir}/usr/lib || return 1
- install ${srcdir}/libstemmer_c/libstemmer.o ${pkgdir}/usr/lib/libstemmer.a || return 1
+ install libstemmer.o ${pkgdir}/usr/lib/libstemmer.a || return 1
}
-md5sums="fc7f6930d843bc65e69f9151262f4153 libstemmer_c.tgz"
-sha256sums="7694b0ec0a380670470587a559abb219c224b8047ed9e3078dccb8898a4a4afb libstemmer_c.tgz"
-sha512sums="938eb12d4fe9e229f21536a6cb8a4322e0b664a7fbc15685e7ad46b4a6ccdfbefc55cc484f86bc738791d6f3e6d1b61ba777a4332a62cf76a8b0a5efd2c2762b libstemmer_c.tgz"
+md5sums="722407e81deb75ad18eb4f56815531c3 snowball-0_git20140929.tar.gz"
+sha256sums="7f54c97dabf1acde637695dcb47331884fcd6fe63f3ad6c9e7cccb786accecda snowball-0_git20140929.tar.gz"
+sha512sums="a8c7426ae9e1fc4397845ace6a8d24b1ff555150f210ece76add92bb6a3092c47305577a265f6aba6fc49d6dd6bc6cb8bb4ce523979f479b176f2ffad0477ac3 snowball-0_git20140929.tar.gz"