desktop/socnetv/PKGBUILD
2017-01-22 21:21:10 +01:00

30 lines
877 B
Bash

pkgname=socnetv
pkgver=2.2
pkgrel=1
pkgdesc="Social Networks Analysis and Visualisation"
arch=('x86_64')
url="http://socnetv.sourceforge.net/"
license=('GPL3')
depends=('qt5-base')
source=(http://downloads.sourceforge.net/socnetv/SocNetV-$pkgver.tar.gz)
sha512sums=('12f490fd1f7fc1a6b45f77d23d8825117def0b7720595cd203d171fd88c41d5a0194a70359f55cbe2dab9e545f300156b31bb0680e46d7ab584e070e128e457b')
build() {
cd "${srcdir}/$pkgname-$pkgver"
qmake-qt5
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
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/"
}