mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
32 lines
822 B
Bash
32 lines
822 B
Bash
# Contribution from Arch:
|
|
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
|
# Contributor: kusakata <shohei atmark kusakata period com>
|
|
|
|
pkgname=mdds
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="A collection of multi-dimensional data structures and indexing algorithms"
|
|
arch=('any')
|
|
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=('ef8abc1236b54c7ca16ae1ee38abfb9cdbc5d1e6a2427c65b92b8c1003e3bf56')
|
|
|
|
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"
|
|
}
|