From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/tellico/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ community/tellico/tellico.install | 14 ++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 community/tellico/PKGBUILD create mode 100644 community/tellico/tellico.install (limited to 'community/tellico') diff --git a/community/tellico/PKGBUILD b/community/tellico/PKGBUILD new file mode 100644 index 000000000..181181404 --- /dev/null +++ b/community/tellico/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 34947 2010-12-13 22:02:05Z schiv $ +# Maintainer: Ray Rashif +# Contributor: Douglas Soares de Andrade +# Contributor: mdv + +pkgname=tellico +pkgver=2.3.2 +pkgrel=1 +pkgdesc="A collection manager for KDE" +arch=('i686' 'x86_64') +url="http://tellico-project.org/" +license=('GPL') +depends=('kdebase-workspace' 'yaz' 'exempi' 'kdegraphics-libs' 'taglib' + 'kdemultimedia-kioslave' 'poppler-qt' 'qjson') +makedepends=('automoc4' 'cmake' 'docbook-xsl') +install=$pkgname.install +source=("http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2") +md5sums=('3425c12055ae7ea512cd7242de73575e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake . -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + 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|' +} + +# vim:set ts=2 sw=2 et: diff --git a/community/tellico/tellico.install b/community/tellico/tellico.install new file mode 100644 index 000000000..be3fad925 --- /dev/null +++ b/community/tellico/tellico.install @@ -0,0 +1,14 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf