updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / gerbil / PKGBUILD
blob21613d806d325eb5583a3381396d63c1e806d2d5
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=gerbil
4 pkgver=0.1.5
5 pkgrel=1
6 pkgdesc="A new interactive visualization tool targeted at multispectral and hyperspectral image data, and a toolbox of common algorithms, e.g. for segmentation."
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/p/gerbil/home/"
9 license=('GPL3')
10 depends=('boost-libs' 'opencv>=2.2' 'qt')
11 makedepends=('boost' 'cmake')
12 install="$pkgname.install"
13 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"
14         "$pkgname.desktop")
15 md5sums=('07f7506b882eefdba16707dc28f472f6'
16          '95c325def4edada78a7841429ec19aa8')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   ./configure.sh /usr
23   # Removing RPATH
24   sed -i "s|-Wl,-rpath.*||" gerbil/gerbil-gui/CMakeFiles/gerbil_gui.dir/link.txt
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   install -Dm755 q$pkgname "$pkgdir/usr/bin/q$pkgname"
34   # Install Desktop file and pixmaps
35   install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
36   install -Dm644 $pkgname-gui/logo/icon.png "$pkgdir/usr/share/pixmaps/q$pkgname.png"