desktop/socnetv/PKGBUILD

32 lines
970 B
Bash
Raw Normal View History

2010-11-03 06:21:38 +08:00
pkgname=socnetv
2015-06-24 05:18:56 +08:00
pkgver=1.9
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)
2015-06-24 05:18:56 +08:00
sha512sums=('97750ca139d4eb72ade66109e4116567735354870ef46107af51d3ca6419c6ee69fb7781421de1a224253ed17307cc9fbe9df2d7e619624fbf076e3d60a96473')
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/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"
2010-11-03 06:21:38 +08:00
2014-12-14 07:41:29 +08:00
cp -r translations/ "$pkgdir/usr/share/socnetv/"
cp -r manual/ "$pkgdir/usr/share/doc/socnetv/"
2010-11-03 06:21:38 +08:00
}
2014-12-14 07:41:29 +08:00