diff options
Diffstat (limited to 'pcr/dianara/PKGBUILD')
-rw-r--r-- | pcr/dianara/PKGBUILD | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/pcr/dianara/PKGBUILD b/pcr/dianara/PKGBUILD index 468f48c7e..aecfc05f6 100644 --- a/pcr/dianara/PKGBUILD +++ b/pcr/dianara/PKGBUILD @@ -1,54 +1,52 @@ -# Maintainer (Arch): Eugenio M. Vigo <emvigo@gmail.com> +# Maintainer (Arch): Icaro Perseo <icaroperseo[at]protonmail[dot]com> +# Contributor (Arch): Eugenio M. Vigo <emvigo@gmail.com> # Contributor (Arch): speps <speps at aur dot archlinux dot org> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=dianara -pkgver=1.3.4 -pkgrel=2 +pkgver=1.3.5 +pkgrel=1 pkgdesc="A Qt pump.io client" arch=(i686 x86_64 armv7h) url="http://dianara.nongnu.org/" license=('GPL') -depends=('file' 'qjson' 'qoauth' 'qca-ossl') +depends=('file' 'qjson' 'qoauth') source=("http://download-mirror.savannah.gnu.org/releases/$pkgname/$pkgname-v$pkgver.tar.gz") -sha256sums=('c258d99f7f2370ed9c91f83761fa7341c086e0626b1083c894c30a9cf3fa6b20') - -prepare() { - cd $pkgname-v$pkgver - [ -d b ] || mkdir b -} +sha256sums=('c284fecbb4c0fe00fe2ce7cfd537de42759567c6116f6c16f5b48857ddb73d3e') build() { - cd $pkgname-v$pkgver/b - qmake-qt4 .. + cd $pkgname-v$pkgver + qmake-qt4 Dianara.pro make } package() { cd $pkgname-v$pkgver - # bin - install -Dm755 b/$pkgname \ - "$pkgdir/usr/bin/$pkgname" + make INSTALL_ROOT="${pkgdir}" install - # desktop file + # Desktop file install -Dm644 $pkgname.desktop \ "$pkgdir/usr/share/applications/$pkgname.desktop" - # icons + # 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" + # Translations + install -d "$pkgdir/usr/share/dianara/translations" install -Dm644 translations/*.qm \ - "$pkgdir/usr/share/locale" + "$pkgdir/usr/share/dianara/translations" - # man + # Man install -Dm644 manual/$pkgname.1 \ "$pkgdir/usr/share/man/man1/$pkgname.1" + + # License + install -Dm644 LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -# vim:set ts=2 sw=2 et: +# vim:set ts=2 sw=2 cc=80 et: |