summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/dianara/PKGBUILD21
1 files 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 <speps@aur.archlinux.org>
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"
}