summaryrefslogtreecommitdiff
path: root/pcr/dianara
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-13 22:27:29 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-13 22:27:29 -0200
commit29bbec56e908a57535ded7f10a21793929574c54 (patch)
tree6b618c8906dbc14fc3c9df8ac856096e8904517c /pcr/dianara
parentc499c6114c2599bca01ac0105fc60d49e98e1335 (diff)
dianara-1.2.5-1: updating version
Diffstat (limited to 'pcr/dianara')
-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"
}