desktop/tellico/PKGBUILD

31 lines
913 B
Bash
Raw Normal View History

2010-06-02 05:25:39 +08:00
pkgname=tellico
2019-01-19 20:38:56 +08:00
pkgver=3.1.4
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')
categories=('office')
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}"
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
# 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
}