diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/tellico |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/tellico')
-rw-r--r-- | community/tellico/PKGBUILD | 39 | ||||
-rw-r--r-- | community/tellico/tellico.install | 14 |
2 files changed, 53 insertions, 0 deletions
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 <schiv@archlinux.org +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> +# 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: |