mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 19:39:03 +08:00
28 lines
676 B
Bash
28 lines
676 B
Bash
pkgname=mdds
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="A collection of multi-dimensional data structures and indexing algorithms"
|
|
arch=('x86_64')
|
|
url="https://gitlab.com/mdds/mdds"
|
|
license=('MIT')
|
|
checkdepends=('boost')
|
|
# see http://code.google.com/p/multidimalgorithm/wiki/Downloads
|
|
source=(http://kohei.us/files/mdds/src/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('dcb8cd2425567a5a5ec164afea475bce57784bca3e352ad4cbdd3d1a7e08e5a1')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|