desktop/socnetv/PKGBUILD

30 lines
877 B
Bash
Raw Normal View History

2010-11-03 06:21:38 +08:00
pkgname=socnetv
2016-09-16 07:46:36 +08:00
pkgver=2.0
2014-12-14 07:41:29 +08:00
pkgrel=1
2010-11-03 06:21:38 +08:00
pkgdesc="Social Networks Analysis and Visualisation"
2014-12-14 07:41:29 +08:00
arch=('x86_64')
2010-11-03 06:21:38 +08:00
url="http://socnetv.sourceforge.net/"
license=('GPL3')
2015-05-26 19:07:49 +08:00
depends=('qt5-base')
2010-11-03 06:21:38 +08:00
source=(http://downloads.sourceforge.net/socnetv/SocNetV-$pkgver.tar.gz)
2016-09-16 07:46:36 +08:00
sha512sums=('598dbb71cd827aa5dc61315173c0f97975f6c69934ed58054861d2eae33c32bfcd1044acf784fab65f61c763b8cb44862d721c7e737f3d641e8843c628f43f35')
2010-11-03 06:21:38 +08:00
build() {
2014-12-14 07:41:29 +08:00
cd "${srcdir}/$pkgname-$pkgver"
qmake-qt5
make
}
2010-11-03 06:21:38 +08:00
2014-12-14 07:41:29 +08:00
package() {
cd "${srcdir}/$pkgname-$pkgver"
2010-11-03 06:21:38 +08:00
2014-12-14 07:41:29 +08:00
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"
2010-11-03 06:21:38 +08:00
2014-12-14 07:41:29 +08:00
cp -r translations/ "$pkgdir/usr/share/socnetv/"
2010-11-03 06:21:38 +08:00
}
2014-12-14 07:41:29 +08:00