core/vc/PKGBUILD

32 lines
725 B
Bash
Raw Normal View History

2013-02-21 08:13:30 +08:00
pkgname=vc
# WARNING: Do not upgrade until pigments (a Calligra library) supports a newer version. See:
# https://bugs.kde.org/show_bug.cgi?id=356204
epoch=2
pkgver=0.7.5
2013-02-21 08:13:30 +08:00
pkgrel=1
pkgdesc="A library to ease explicit vectorization of C++ code"
url='http://code.compeng.uni-frankfurt.de/projects/vc/'
arch=('x86_64')
2015-10-12 19:47:33 +08:00
license=('BSD')
2013-02-21 08:13:30 +08:00
makedepends=('cmake')
2015-10-12 19:47:33 +08:00
source=("https://github.com/VcDevel/Vc/releases/download/${pkgver}/Vc-${pkgver}.tar.gz")
md5sums=('59854e2381b78d602b4a00e459e3d333')
2013-02-21 08:13:30 +08:00
build() {
2015-10-12 19:47:33 +08:00
mkdir -p build && cd build
2013-02-21 08:13:30 +08:00
cmake ../Vc-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
check() {
cd build
make test
}
2013-02-21 08:13:30 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
}