aboutsummaryrefslogtreecommitdiffstats
path: root/main/swish-e
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-14 01:04:00 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-14 01:04:00 +0000
commitee59a4eca2ea94904db1af562dad9df2f78800c4 (patch)
treec733de4c9ce507cca2a311e8f591a5a258891d73 /main/swish-e
parent651630d0c5ed382341183f3fbed83a1dc91e7033 (diff)
downloadaports-ee59a4eca2ea94904db1af562dad9df2f78800c4.tar.bz2
aports-ee59a4eca2ea94904db1af562dad9df2f78800c4.tar.xz
main/swish-e: use tmp source
Diffstat (limited to 'main/swish-e')
-rw-r--r--main/swish-e/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/swish-e/APKBUILD b/main/swish-e/APKBUILD
index 1c36d7eedd..702a240739 100644
--- a/main/swish-e/APKBUILD
+++ b/main/swish-e/APKBUILD
@@ -11,17 +11,18 @@ depends="perl-html-parser perl-html-tagset perl-libwww"
makedepends="perl-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
-source="http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz"
+#source="http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz"
+source="https://distfiles.macports.org/swish-e/swish-e-$pkgver.tar.gz"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
update_config_sub || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
@@ -35,7 +36,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
# Move SwishSpiderConfig.pl because spider.pl won't run without default settings
@@ -44,3 +45,5 @@ package() {
}
md5sums="736db7a65aed48bb3e2587c52833642d swish-e-2.4.7.tar.gz"
+sha256sums="5ddd541ff8ecb3c78ad6ca76c79e620f457fac9f7d0721ad87e9fa22fe997962 swish-e-2.4.7.tar.gz"
+sha512sums="859cb0cacea093f4d6c19353cafe723067569b832485689128b5a86e416aca3a03e1f852b96acc4cb5e6b0f6814cac364d4bbce0a2928fd5ac5224e14022a666 swish-e-2.4.7.tar.gz"