From 89dd7b5f30d48c708092a71b1c8285090fe91505 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 May 2012 00:02:35 +0000 Subject: Mon May 28 00:02:35 UTC 2012 --- community/tellico/PKGBUILD | 27 ++++++++++++++------------- community/tellico/tellico.install | 9 +++++---- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'community/tellico') 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 +# Contributor: Maintainer: Ray Rashif # Contributor: Douglas Soares de Andrade 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 } -- cgit v1.2.3-54-g00ecf