desktop/tellico/PKGBUILD

44 lines
1.2 KiB
Bash
Raw Normal View History

2010-06-02 05:25:39 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-12-23 06:20:11 +08:00
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-06-02 05:25:39 +08:00
pkgname=tellico
2010-12-23 06:20:11 +08:00
pkgver=2.3.2
pkgrel=2
2010-06-02 05:25:39 +08:00
pkgdesc="A collection manager for KDE"
arch=('i686' 'x86_64')
url="http://www.periapsis.org/tellico/"
license=('GPL')
depends=('kdebase-workspace' 'yaz' 'exempi' 'kdegraphics-common' 'taglib'
2010-12-23 06:20:11 +08:00
'kdemultimedia-common' 'poppler-qt' 'qjson')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
2010-06-02 05:25:39 +08:00
install=${pkgname}.install
source=(http://tellico-project.org/files/$pkgname-$pkgver.tar.bz2)
2010-12-23 06:20:11 +08:00
md5sums=('3425c12055ae7ea512cd7242de73575e')
2010-06-02 05:25:39 +08:00
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
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
}