blob: 4f0ff146fb40fbd246f90f342cf429e8d7cedf07 (
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
|
# Maintainer: Heavysink <winstonwu91 at gmail>
pkgname=libcsa-git
pkgver=20191025.917fa3c
pkgrel=1
pkgdesc="Bivariate Cubic Spline approximation library + standalone utility"
arch=(i686 x86_64)
url="https://github.com/sakov/csa-c"
license=('GPL3')
depends=('glibc')
makedepends=('git')
source=($pkgname::"git+https://github.com/sakov/csa-c.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname/"
(git log -1 --format='%cd.%h' --date=short | tr -d -)
}
build() {
cd "$srcdir/$pkgname/csa"
export CFLAGS+=" -fPIC"
./configure \
--prefix=$pkgdir/usr
make
}
package()
{
cd "$srcdir/$pkgname/csa"
make install
}
|