desktop/dianara/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

48 lines
1.2 KiB
Bash

pkgname=dianara
pkgver=1.3.6
pkgrel=1
pkgdesc="A Qt pump.io client"
arch=('x86_64')
url="http://dianara.nongnu.org/"
license=('GPL')
depends=('qoauth' 'qca-qt5')
install="$pkgname.install"
screenshot=('http://dianara.nongnu.org/images/dianara-v0.9-release-main.png')
source=("http://download-mirror.savannah.gnu.org/releases/$pkgname/$pkgname-v$pkgver.tar.gz")
sha256sums=('4a0d14676ea12a5a8bbe43777917150d9b1e742fcc402d3e9bfb7189b0a2c6d6')
build() {
cd $pkgname-v$pkgver
[ -d bld ] || mkdir bld && cd bld
qmake-qt5 ..
sed -i 's|include5|include|' Makefile
make
}
package() {
cd $pkgname-v$pkgver
# bin
install -Dm755 bld/$pkgname \
"$pkgdir/usr/bin/$pkgname"
# desktop file
install -Dm644 $pkgname.desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# icons
install -Dm644 icon/32x32/$pkgname.png \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
install -Dm644 icon/64x64/$pkgname.png \
"$pkgdir/usr/share/icons/hicolor/64x64/apps/$pkgname.png"
# translations
install -d "$pkgdir/usr/share/locale"
install -Dm644 translations/*.qm \
"$pkgdir/usr/share/locale"
# man
install -Dm644 manual/$pkgname.1 \
"$pkgdir/usr/share/man/man1/$pkgname.1"
}