desktop/tellico/PKGBUILD

40 lines
1002 B
Bash
Raw Normal View History

2010-06-02 05:25:39 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
2012-07-19 01:52:49 +08:00
# maintainer abveritas@chakra-project.org
2010-12-23 06:20:11 +08:00
2010-06-02 05:25:39 +08:00
pkgname=tellico
2012-07-19 01:52:49 +08:00
pkgver=2.3.6
2011-04-11 18:03:39 +08:00
pkgrel=1
2010-06-02 05:25:39 +08:00
pkgdesc="A collection manager for KDE"
arch=('i686' 'x86_64')
2012-01-16 13:48:48 +08:00
url="http://tellico-project.org/"
2010-06-02 05:25:39 +08:00
license=('GPL')
2012-01-16 13:48:48 +08:00
depends=('kde-workspace' 'yaz' 'exempi' 'libksane' 'taglib'
'kdemultimedia-common' 'poppler-qt' 'qjson')
2010-12-23 06:20:11 +08:00
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('office')
2012-07-19 01:52:49 +08:00
screenshot=('http://tellico-project.org/img/main_screen-2.0.jpg')
2012-01-16 13:48:48 +08:00
install=$pkgname.install
source=("http://tellico-project.org/files/${pkgname}-${pkgver}.tar.bz2")
2012-07-19 01:52:49 +08:00
md5sums=('a547c3cff6559012bf2292cec5a543ed')
2010-06-02 05:25:39 +08:00
build() {
2012-01-16 13:48:48 +08:00
cd "${srcdir}"
2010-06-02 05:25:39 +08:00
mkdir build
cd build
2012-01-16 13:48:48 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
2010-06-02 05:25:39 +08:00
}
package() {
2012-01-16 13:48:48 +08:00
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
2010-12-23 06:20:11 +08:00
# fix python 2.7 path
find "$pkgdir" -iname "*.py" | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
2010-06-02 05:25:39 +08:00
}