From 29bbec56e908a57535ded7f10a21793929574c54 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 13 Feb 2015 22:27:29 -0200 Subject: dianara-1.2.5-1: updating version --- pcr/dianara/PKGBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pcr/dianara/PKGBUILD b/pcr/dianara/PKGBUILD index 2bca50c77..9fee675e8 100644 --- a/pcr/dianara/PKGBUILD +++ b/pcr/dianara/PKGBUILD @@ -2,20 +2,24 @@ # Maintainer (AUR): speps pkgname=dianara -pkgver=1.1 +pkgver=1.2.5 pkgrel=1 pkgdesc="A Qt pump.io client" arch=(i686 x86_64) url="http://dianara.nongnu.org/" license=('GPL') -depends=('qjson' 'qoauth' 'qca-ossl') +depends=('file' 'qjson' 'qoauth' 'qca-ossl') install="$pkgname.install" source=("http://download-mirror.savannah.gnu.org/releases/$pkgname/$pkgname-v$pkgver.tar.gz") -md5sums=('6a7561f75679e7cec767fc6fbd396610') +md5sums=('70e9c8138d482108b24183d3c52b6958') -build() { +prepare() { cd $pkgname-v$pkgver - [ -d bld ] || mkdir bld && cd bld + [ -d b ] || mkdir b +} + +build() { + cd $pkgname-v$pkgver/b qmake-qt4 .. make } @@ -24,7 +28,7 @@ package() { cd $pkgname-v$pkgver # bin - install -Dm755 bld/$pkgname \ + install -Dm755 b/$pkgname \ "$pkgdir/usr/bin/$pkgname" # desktop file @@ -42,9 +46,8 @@ package() { install -Dm644 translations/*.qm \ "$pkgdir/usr/share/locale" - # man (why 7?) - install -d "$pkgdir/usr/share/man/man1" - sed '1s/"7"/"1"/' manual/$pkgname.7 > \ + # man + install -Dm644 manual/$pkgname.1 \ "$pkgdir/usr/share/man/man1/$pkgname.1" } -- cgit v1.2.3