PKGBUILDs/community/tellico/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
930 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: mdv
pkgname=tellico
pkgver=1.3.5
pkgrel=2
pkgdesc="A collection manager for KDE"
arch=('i686' 'x86_64')
url="http://www.periapsis.org/tellico/"
license=('GPL')
depends=('kdelibs3' 'taglib' 'python' 'ruby')
conflicts=('bookcase')
replaces=('bookcase')
source=(http://www.periapsis.org/tellico/download/$pkgname-$pkgver.tar.gz
tellico-1.3.5-gcc44.patch)
options=('libtool')
md5sums=('ca5d9db11fa1dd33dfe317ffe095435c'
'7f54675fb87c460ba2de4b2750416be1')
build() {
cd ${srcdir}/$pkgname-$pkgver
patch -Np1 -i $srcdir/tellico-1.3.5-gcc44.patch || return 1
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
./configure --prefix=/opt/kde --enable-final --without-arts --disable-debug
make || return 1
make DESTDIR=${pkgdir} install
}