summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c1c59e721e..0d43521806c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = vxl
pkgdesc = VXL library. The geometry and imaging core libraries are turned off in order to build successfully.
- pkgver = 1.17
+ pkgver = 2.0.2
pkgrel = 1
- url = http://vxl.sourceforge.net/
+ url = https://github.com/vxl/vxl
arch = i686
arch = x86_64
depends = cmake
- source = http://excellmedia.dl.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz
- md5sums = cf71031dee80f92e6649c4faa2d485b5
+ source = https://github.com/vxl/vxl/archive/v2.0.2.tar.gz
+ md5sums = 24fb616a55c885e821c9a049ae1b23ed
pkgname = vxl
diff --git a/PKGBUILD b/PKGBUILD
index 3274c9ca6ae..89782880438 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,24 @@
pkgname=vxl
-pkgver=1.17
+pkgver=2.0.2
pkgrel=1
pkgdesc="VXL library. The geometry and imaging core libraries are turned off in order to build successfully. "
arch=('i686' 'x86_64')
-url='http://vxl.sourceforge.net/'
+url='https://github.com/vxl/vxl'
depends=('cmake')
-source=(http://excellmedia.dl.sourceforge.net/project/vxl/vxl/$pkgver/vxl-$pkgver.0.tar.gz)
-md5sums=('cf71031dee80f92e6649c4faa2d485b5')
+source=(https://github.com/vxl/vxl/archive/v${pkgver}.tar.gz)
+md5sums=('24fb616a55c885e821c9a049ae1b23ed')
build() {
- cd "$srcdir/vxl-$pkgver.0"
- sed -i 's/error "Dunno about this gcc"/define VCL_GCC_41/g' vcl/vcl_compiler.h
+ cd "$srcdir/vxl-${pkgver}"
mkdir -p build
cd build
- cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-std=c++98 -DGNU_LIBSTDCXX_V3 -w" -DBUILD_CORE_GEOMETRY=OFF -DBUILD_CORE_IMAGING=OFF ..
+ 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.0/build"
+ cd "$srcdir/vxl-${pkgver}/build"
make DESTDIR="$pkgdir" install
}