desktop/socnetv/PKGBUILD
2014-12-13 23:41:29 +00:00

35 lines
944 B
Bash

# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=socnetv
pkgver=1.5
pkgrel=1
pkgdesc="Social Networks Analysis and Visualisation"
arch=('x86_64')
url="http://socnetv.sourceforge.net/"
license=('GPL3')
depends=('qt5-base' 'qt5-webkit')
source=(http://downloads.sourceforge.net/socnetv/SocNetV-$pkgver.tar.gz)
md5sums=('15a7634ceca73bbb48c7ad6326595955')
build() {
cd "${srcdir}/$pkgname-$pkgver"
qmake-qt5
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
install -d "$pkgdir/usr/share/doc/socnetv/"
install -d "$pkgdir/usr/share/socnetv/"
install -D socnetv "$pkgdir/usr/bin/socnetv"
install -D socnetv.desktop "$pkgdir/usr/share/applications/socnetv.desktop"
install -D "src/images/socnetv.png" "$pkgdir/usr/share/pixmaps/socnetv.png"
install -D "man/socnetv.1.gz" "$pkgdir/usr/share/man/man1/socnetv.1.gz"
cp -r translations/ "$pkgdir/usr/share/socnetv/"
cp -r manual/ "$pkgdir/usr/share/doc/socnetv/"
}