2010-06-02 05:25:39 +08:00
|
|
|
pkgname=tellico
|
2019-01-19 20:38:56 +08:00
|
|
|
pkgver=3.1.4
|
2018-12-07 23:29:03 +08:00
|
|
|
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')
|
2017-02-22 08:29:09 +08:00
|
|
|
depends=('exempi' 'kio' 'libksane' 'libkcddb' 'libcddb' 'libdiscid' 'hicolor-icon-theme' 'kfilemetadata'
|
|
|
|
'knewstuff' 'kxmlgui' 'kitemmodels' 'python2' 'solid' 'khtml' 'yaz' 'taglib' 'poppler-qt5' 'qt5-base')
|
|
|
|
makedepends=('cmake' 'extra-cmake-modules' 'kdoctools' 'libkcddb')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('office')
|
2016-11-11 08:31:31 +08:00
|
|
|
source=(http://tellico-project.org/files/${pkgname}-${pkgver}.tar.xz)
|
2019-01-19 20:38:56 +08:00
|
|
|
md5sums=('e6c9ed49030ed3e7541f438dae65e498')
|
2010-06-02 05:25:39 +08:00
|
|
|
|
|
|
|
build() {
|
2012-01-16 13:48:48 +08:00
|
|
|
cd "${srcdir}"
|
2015-03-26 05:29:58 +08:00
|
|
|
|
2016-11-11 08:31:31 +08:00
|
|
|
mkdir -p build && cd build
|
2012-01-16 13:48:48 +08:00
|
|
|
|
2017-02-22 08:29:09 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
2012-01-16 13:48:48 +08:00
|
|
|
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
|
|
|
|
2015-03-26 05:29:58 +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
|
|
|
}
|