core/vc/PKGBUILD
Adrian Chaves (Gallaecio) a18926aff9 vc: downgrade to 0.7.5
Calligra cannot be built with a higher version.
2016-09-24 16:18:18 +02:00

32 lines
725 B
Bash

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
pkgrel=1
pkgdesc="A library to ease explicit vectorization of C++ code"
url='http://code.compeng.uni-frankfurt.de/projects/vc/'
arch=('x86_64')
license=('BSD')
makedepends=('cmake')
source=("https://github.com/VcDevel/Vc/releases/download/${pkgver}/Vc-${pkgver}.tar.gz")
md5sums=('59854e2381b78d602b4a00e459e3d333')
build() {
mkdir -p build && cd build
cmake ../Vc-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}