blob: 0544c9b46b21359d13bb87e0cce14e7dfccbd3c0 (
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
|
# Maintainer: Guoyi Zhang <myname at malacology dot net>
pkgname=tn93
epoch=1
pkgver=1.0.14
pkgrel=1
pkgdesc="TN93 fast distance calculator"
arch=(x86_64)
url="https://github.com/veg/tn93"
license=('MIT')
depends=('gcc-libs')
makedepends=('cmake' 'make' 'gcc' 'git')
source=("git+$url.git#tag=v${pkgver}")
md5sums=('651f294471dec32e90b559a3001bc4fe')
build() {
cd $pkgname
mkdir -p build && cd build
cmake ..
make
}
package() {
cd $pkgname/build
chmod +x $pkgname
install -Dm 755 $pkgname ${pkgdir}/usr/bin/$pkgname
}
|