summaryrefslogtreecommitdiff
path: root/community/tellico
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-28 00:02:35 +0000
committerroot <root@rshg054.dnsready.net>2012-05-28 00:02:35 +0000
commit89dd7b5f30d48c708092a71b1c8285090fe91505 (patch)
treefb3a22f789121b955ff0fce7ec8d2f8c8886579b /community/tellico
parent1f45ad8e3f17397e2f44e68ef9a0d860091eea9e (diff)
Mon May 28 00:02:35 UTC 2012
Diffstat (limited to 'community/tellico')
-rw-r--r--community/tellico/PKGBUILD27
-rw-r--r--community/tellico/tellico.install9
2 files changed, 19 insertions, 17 deletions
diff --git a/community/tellico/PKGBUILD b/community/tellico/PKGBUILD
index 4377089ff..d4b132fd5 100644
--- a/community/tellico/PKGBUILD
+++ b/community/tellico/PKGBUILD
@@ -1,37 +1,38 @@
-# $Id: PKGBUILD 62153 2012-01-16 21:08:22Z andrea $
-# Maintainer: Ray Rashif <schiv@archlinux.org
+# $Id: PKGBUILD 71282 2012-05-26 07:55:16Z pschmitz $
+# 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=1
+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')
+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")
-md5sums=('e6a1835d2622b79c4bfd95271bce858e')
+source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('b31db35589cae7f9af56a17e6589f8c5de68e36d9fc5fbaea4154e8238bf041c')
build() {
- cd "${srcdir}"
+ 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
+ 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|'
+# fix python 2.7 path
+ find ${pkgdir} -iname "*.py" | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}
diff --git a/community/tellico/tellico.install b/community/tellico/tellico.install
index 3f06b8deb..3b3aff7d9 100644
--- a/community/tellico/tellico.install
+++ b/community/tellico/tellico.install
@@ -1,12 +1,13 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}