summaryrefslogtreecommitdiff
path: root/staging/tellico/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-07-18 00:01:34 +0000
commit63d179775e063452db6358e15b9847e7fc6c84b6 (patch)
tree0082531329e5caae873c4eb5f1fbd41d2a98d938 /staging/tellico/PKGBUILD
parent412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (diff)
Wed Jul 18 00:01:34 UTC 2012
Diffstat (limited to 'staging/tellico/PKGBUILD')
-rw-r--r--staging/tellico/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/staging/tellico/PKGBUILD b/staging/tellico/PKGBUILD
new file mode 100644
index 000000000..c0945ceb4
--- /dev/null
+++ b/staging/tellico/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 70650 2012-05-13 20:07:17Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Maintainer: Ray Rashif <schiv@archlinux.org
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+
+pkgname=tellico
+pkgver=2.3.5
+pkgrel=2
+pkgdesc="A collection manager for KDE"
+arch=('i686' 'x86_64')
+url="http://tellico-project.org/"
+license=('GPL')
+depends=('kdebase-workspace' 'yaz' 'exempi' 'libksane' 'taglib' 'kdemultimedia-kioslave' 'poppler-qt' 'qjson')
+makedepends=('automoc4' 'cmake')
+install=$pkgname.install
+source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('b31db35589cae7f9af56a17e6589f8c5de68e36d9fc5fbaea4154e8238bf041c')
+
+build() {
+ cd ${srcdir}
+
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+
+ make DESTDIR=${pkgdir} install
+
+# fix python 2.7 path
+ find ${pkgdir} -iname "*.py" | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
+}