blob: 80d7bdc259eca803c4c41f73cdae157641baa181 (
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: Bogdan Burlacu <bogdan.burlacu@pm.me>
pkgname=aaflib
pkgver=0.1
pkgrel=1
pkgdesc="An implementation of the mathematical construct of affine arithmetics in C++."
arch=('x86_64')
url="http://aaflib.sourceforge.net"
license=('LGPL')
depends=(gcc-libs)
makedepends=(cmake)
options=('staticlibs')
source=("https://github.com/foolnotion/aaflib/archive/v$pkgver.tar.gz")
sha256sums=(5dbbf503e9c664fa90e71ce903fd165d1ab56c59ee99f50e4e088694946abf48 )
build() {
cd "$pkgname-$pkgver"
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
cmake --build .
}
package() {
cd "$pkgname-$pkgver"/build
make DESTDIR="$pkgdir/" install
}
|