summaryrefslogtreecommitdiff
path: root/community/tellico
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/tellico
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/tellico')
-rw-r--r--community/tellico/PKGBUILD37
-rw-r--r--community/tellico/tellico.changelog5
-rw-r--r--community/tellico/tellico.install13
3 files changed, 55 insertions, 0 deletions
diff --git a/community/tellico/PKGBUILD b/community/tellico/PKGBUILD
new file mode 100644
index 000000000..5c28092e5
--- /dev/null
+++ b/community/tellico/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 94089 2013-07-14 11:11:38Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: 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.8
+pkgrel=1
+pkgdesc="A collection manager for KDE"
+arch=('i686' 'x86_64')
+url="http://tellico-project.org/"
+license=('GPL')
+depends=('kdebase-workspace' 'yaz' 'exempi' 'libksane' 'taglib' 'libkcddb' 'poppler-qt' 'kdemultimedia-audiocd-kio')
+makedepends=('automoc4' 'cmake')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('2d8a0d06951e0755c7987d0a07cc8157cd42c8b1c143170042183ff1e89e2ccb')
+
+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|'
+}
diff --git a/community/tellico/tellico.changelog b/community/tellico/tellico.changelog
new file mode 100644
index 000000000..a1591d839
--- /dev/null
+++ b/community/tellico/tellico.changelog
@@ -0,0 +1,5 @@
+2013-07-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * tellico 2.3.8-1
+
+2013-01-30 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * tellico 2.3.7-1
diff --git a/community/tellico/tellico.install b/community/tellico/tellico.install
new file mode 100644
index 000000000..3b3aff7d9
--- /dev/null
+++ b/community/tellico/tellico.install
@@ -0,0 +1,13 @@
+post_install() {
+ 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_remove() {
+ post_install
+}