# $Id: PKGBUILD 113716 2014-06-28 16:53:12Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Ray Rashif # Contributor: Douglas Soares de Andrade pkgname=tellico pkgver=2.3.9 pkgrel=1 pkgdesc="A collection manager for KDE" arch=('i686' 'x86_64') url="http://tellico-project.org/" license=('GPL') depends=('kdebase-runtime' 'qimageblitz' 'kdepimlibs' 'yaz' 'exempi' 'libksane' 'taglib' 'libkcddb' 'poppler-qt4' 'kdemultimedia-audiocd-kio') makedepends=('automoc4' 'cmake') install=$pkgname.install changelog=$pkgname.changelog source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2) sha256sums=('5184c130ea7561be6e72580105f30d5f160fd2fd5c9ffc7f7e16faf227a20114') build() { cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DWITH_Nepomuk=OFF 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|' }