desktop/socnetv/PKGBUILD
2016-09-29 22:45:32 +02:00

30 lines
877 B
Bash

pkgname=socnetv
pkgver=2.1
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=('26aa81cf9cea8b2d100942e7fb8d224ebac6792d53a04abd6b597514b3be4fb189baab4cf25d1aaff8d065c65d33d82071e5edc73d2b43637004e836c3f2bfe1')
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/"
}