aboutsummaryrefslogtreecommitdiffstats
path: root/community/mdds1.0/APKBUILD
blob: 8e678c9797c93fc949edf47965b7f5decaadc251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname="mdds1.0"
_realname=mdds
pkgver=1.0.0
pkgrel=1
_sha="3183d3ca85e9b8878f9144cc29ab90504a0d0454"
pkgdesc="Multi-dimensional data index algorithm"
url="https://gitlab.com/mdds/mdds"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev automake autoconf libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$_realname-$pkgver.tar.gz::https://gitlab.com/mdds/mdds/repository/archive.tar.gz?ref=$pkgver"

builddir="$srcdir/$_realname-$pkgver-$_sha"

prepare() {
	cd "$builddir"
	default_prepare || return 1
	./autogen.sh || return 1
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -d 755 "$pkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/
}

md5sums="3c6782bcb20b818ab9493fca904d38f2  mdds-1.0.0.tar.gz"
sha256sums="7fc094b73fc41294e560ab3d30a10eace010d699490c953de1d43c14ee071302  mdds-1.0.0.tar.gz"
sha512sums="9eda126f78b221f098918822eea599b5a63abf86fbc733b8f603671809a3d63504fb12d7a500a49c67346a42cbeaaffabd15049092f7d1068150a24c617014b0  mdds-1.0.0.tar.gz"