desktop/tellico/PKGBUILD

33 lines
1002 B
Bash
Raw Normal View History

2010-06-02 05:25:39 +08:00
pkgname=tellico
2017-10-18 08:27:44 +08:00
pkgver=3.1
2017-11-03 05:02:45 +08:00
pkgrel=2
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')
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.xz)
2017-10-18 08:27:44 +08:00
md5sums=('a710186e037411f0ab6d907816b122a6')
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
}