# $Id: PKGBUILD 98964 2013-10-21 20:10:32Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Ray Rashif # Contributor: Douglas Soares de Andrade pkgname=tellico pkgver=2.3.8 pkgrel=2 pkgdesc="A collection manager for KDE" arch=('i686' 'x86_64' 'mips64el') 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|' }