mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
877 B
Bash
30 lines
877 B
Bash
pkgname=socnetv
|
|
pkgver=2.0
|
|
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=('598dbb71cd827aa5dc61315173c0f97975f6c69934ed58054861d2eae33c32bfcd1044acf784fab65f61c763b8cb44862d721c7e737f3d641e8843c628f43f35')
|
|
|
|
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/"
|
|
}
|
|
|