2013-08-09 03:51:14 +08:00
|
|
|
pkgname=dianara
|
2017-03-28 13:48:30 +08:00
|
|
|
pkgver=1.3.7
|
2017-04-01 20:50:00 +08:00
|
|
|
pkgrel=2
|
2013-08-09 03:51:14 +08:00
|
|
|
pkgdesc="A Qt pump.io client"
|
2014-09-19 11:35:27 +08:00
|
|
|
arch=('x86_64')
|
2013-08-09 03:51:14 +08:00
|
|
|
url="http://dianara.nongnu.org/"
|
|
|
|
license=('GPL')
|
2017-04-01 20:50:00 +08:00
|
|
|
depends=('qoauth-qt5' 'qca-qt5')
|
2013-08-09 03:51:14 +08:00
|
|
|
install="$pkgname.install"
|
2013-11-06 21:27:51 +08:00
|
|
|
screenshot=('http://dianara.nongnu.org/images/dianara-v0.9-release-main.png')
|
2013-08-09 03:51:14 +08:00
|
|
|
source=("http://download-mirror.savannah.gnu.org/releases/$pkgname/$pkgname-v$pkgver.tar.gz")
|
2017-03-28 13:48:30 +08:00
|
|
|
sha256sums=('43020e5ff74467106d5882e0f825014dd2087105ddca59f0c4eb0ab4272ea930')
|
2014-01-12 05:43:52 +08:00
|
|
|
|
2013-08-09 03:51:14 +08:00
|
|
|
build() {
|
2013-11-06 21:27:51 +08:00
|
|
|
cd $pkgname-v$pkgver
|
2013-08-09 03:51:14 +08:00
|
|
|
[ -d bld ] || mkdir bld && cd bld
|
2016-11-29 19:53:23 +08:00
|
|
|
qmake-qt5 ..
|
|
|
|
sed -i 's|include5|include|' Makefile
|
2013-08-09 03:51:14 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-11-06 21:27:51 +08:00
|
|
|
cd $pkgname-v$pkgver
|
2013-08-09 03:51:14 +08:00
|
|
|
|
|
|
|
# bin
|
|
|
|
install -Dm755 bld/$pkgname \
|
|
|
|
"$pkgdir/usr/bin/$pkgname"
|
|
|
|
|
|
|
|
# desktop file
|
|
|
|
install -Dm644 $pkgname.desktop \
|
|
|
|
"$pkgdir/usr/share/applications/$pkgname.desktop"
|
|
|
|
|
2013-11-06 21:27:51 +08:00
|
|
|
# icons
|
|
|
|
install -Dm644 icon/32x32/$pkgname.png \
|
|
|
|
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
|
2013-08-09 03:51:14 +08:00
|
|
|
install -Dm644 icon/64x64/$pkgname.png \
|
2013-11-06 21:27:51 +08:00
|
|
|
"$pkgdir/usr/share/icons/hicolor/64x64/apps/$pkgname.png"
|
2013-08-09 03:51:14 +08:00
|
|
|
|
|
|
|
# translations
|
|
|
|
install -d "$pkgdir/usr/share/locale"
|
|
|
|
install -Dm644 translations/*.qm \
|
|
|
|
"$pkgdir/usr/share/locale"
|
|
|
|
|
2014-09-19 11:35:27 +08:00
|
|
|
# man
|
2014-08-01 17:50:55 +08:00
|
|
|
install -Dm644 manual/$pkgname.1 \
|
2013-11-06 21:27:51 +08:00
|
|
|
"$pkgdir/usr/share/man/man1/$pkgname.1"
|
|
|
|
}
|