aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-12 09:59:57 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-12 10:00:19 +0300
commit38953b1632427014f852bee376aad6dd75df0c57 (patch)
tree9a7d21175538c19b4fa7d5d6c2ea16802db28bfc
parent8b17da5800b23db2b2a332f1c6d540a426d798c6 (diff)
downloadaports-38953b1632427014f852bee376aad6dd75df0c57.tar.bz2
aports-38953b1632427014f852bee376aad6dd75df0c57.tar.xz
community/mdds: upgrade to 1.2.3, modernize aport
-rw-r--r--community/mdds/APKBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/community/mdds/APKBUILD b/community/mdds/APKBUILD
index b3420a9c4f..c6e9bd7695 100644
--- a/community/mdds/APKBUILD
+++ b/community/mdds/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=mdds
-pkgver=1.2.2
+pkgver=1.2.3
pkgrel=0
pkgdesc="Multi-dimentional data index algorithm"
url="https://code.google.com/p/multidimalgorithm/"
@@ -16,15 +16,6 @@ source="http://kohei.us/files/mdds/src/mdds-$pkgver.tar.bz2
"
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
-}
build() {
cd "$builddir"
@@ -35,18 +26,15 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -d 755 "$pkgdir"/usr/lib
mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/
}
-md5sums="8855cf852a6088cfdc792c6f7ceb0243 mdds-1.2.2.tar.bz2"
-sha256sums="141e730b39110434b02cd844c5ad3442103f7c35f7e9a4d6a9f8af813594cc9d mdds-1.2.2.tar.bz2"
-sha512sums="552cb1b65c03cd18eb679c95821e47c1151e1b3015043de4b3a7bc14d27734772fa4d80fd90ab48998d0bc75385a3d29c4dd7ce826cf84b012685573c623bf01 mdds-1.2.2.tar.bz2"
+sha512sums="e5935fd99a53df124532cfc8e46349b2ef9ca79f5f184ca2da941c9a77e66ee40e11478e520bf9cb62e1bcea4b69deab5088265e1b89fda04417130aab227c3d mdds-1.2.3.tar.bz2"