summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 669f33123c5f09684f3b672054e53cbdfee32a9d (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
pkgname=vxl
pkgver=3.3.2
pkgrel=1
pkgdesc="VXL (the Vision-something-Libraries): a multi-platform collection of C++ software libraries for Computer Vision and Image Understanding. "
arch=('i686' 'x86_64')
url='https://github.com/vxl/vxl'
depends=('libgeotiff')
makedepends=('cmake')
source=(https://github.com/vxl/vxl/archive/v${pkgver}.tar.gz)
md5sums=('589cdbb5b4c9e6c1203dcbb707527c59')

build() {
	cd "$srcdir/vxl-${pkgver}"
	mkdir -p build
	cd build
	cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON ..
	ncores=$(grep -c '^processor' /proc/cpuinfo)
	make -j$ncores
}

package() {
	cd "$srcdir/vxl-${pkgver}/build"
	make DESTDIR="$pkgdir" install
}