jobextra/mdds/PKGBUILD

44 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=mdds
pkgver=2.1.1
pkgrel=01
pkgdesc="A collection of multi-dimensional data structures and indexing algorithms"
url="https://gitlab.com/mdds/mdds"
checkdepends=('boost')
#source=(https://gitlab.com/mdds/mdds/repository/archive.tar.gz?ref=${pkgver})
source=(https://kohei.us/files/mdds/src/${pkgname}-${pkgver}.tar.xz)
build() {
cd ${pkgname}-${pkgver}
./autogen.sh --prefix=/usr
# make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('MIT')
# checksums listed there - https://gitlab.com/mdds/mdds/-/releases
sha256sums=(1483d90cefb8aa4563c4d0a85cb7b243aa95217d235d422e9ca6722fd5b97e56) # mdds-2.1.1.tar.xz
## 351ac5a13b3cc9e1ff406ce70f0251bfc45cb01b6c6be17945c0eaf1e98d642a mdds-2.1.1-01-x86_64.pkg.tar.lz