desktop/tellico/PKGBUILD

37 lines
968 B
Bash
Raw Normal View History

2013-07-11 19:17:32 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2010-12-23 06:20:11 +08:00
2010-06-02 05:25:39 +08:00
pkgname=tellico
2014-06-23 17:57:31 +08:00
pkgver=2.3.9
pkgrel=1
2010-06-02 05:25:39 +08:00
pkgdesc="A collection manager for KDE"
2013-01-25 02:47:46 +08:00
arch=('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'
2013-01-25 02:47:46 +08:00
'libkcddb' 'poppler-qt' 'qjson' 'kdemultimedia-audiocd-kio')
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")
2014-06-23 17:57:31 +08:00
md5sums=('58bdb33f70ad0a1e62afb4f48642acb0')
2010-06-02 05:25:39 +08:00
build() {
2012-01-16 13:48:48 +08:00
cd "${srcdir}"
2013-07-28 21:51:39 +08:00
mkdir -p build
2010-06-02 05:25:39 +08:00
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
}