desktop/tellico/PKGBUILD
2016-03-23 14:56:49 +00:00

33 lines
972 B
Bash

pkgname=tellico
pkgver=2.3.11
pkgrel=3
pkgdesc="A collection manager for KDE"
arch=('x86_64')
url="http://tellico-project.org/"
license=('GPL')
depends=('kde-runtime' 'qimageblitz' 'kdepimlibs4' 'yaz' 'exempi' 'libksane4' 'taglib' 'libkcddb' 'poppler-qt4' 'kdemultimedia-audiocd-kio' 'gnutls')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('office')
screenshot=('http://tellico-project.org/img/main_screen-2.0.jpg')
install=$pkgname.install
source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('3064756f6e1662d07385c37f5821a0f6be8b22b6decad17d6852536016ca2128')
build() {
cd "${srcdir}"
mkdir -p 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|'
}