desktop/goldendict/PKGBUILD

42 lines
882 B
Bash
Raw Normal View History

2012-07-19 23:17:15 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
2013-02-02 07:15:37 +08:00
# maintainer: abveritas@chakra-project.org
2012-07-19 23:17:15 +08:00
pkgname=goldendict
pkgver=1.0.1
pkgrel=5
pkgdesc="Feature-rich dictionary lookup program"
2013-02-02 07:15:37 +08:00
arch=('x86_64')
2012-07-19 23:17:15 +08:00
url="http://goldendict.berlios.de/"
license=('GPL3')
depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'qt' 'phonon')
provides=('stardict')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2
$pkgname-paths.diff
fix-compile.patch)
2013-02-02 07:15:37 +08:00
m5sums=('d56bb854936015104029d1f0b98b61bb'
'4488d4353e5522796c00785f0ce265e1'
'37c953c0a63447000dbada4c5c40cc60')
2012-07-19 23:17:15 +08:00
build(){
cd ${srcdir}
2013-02-02 07:15:37 +08:00
patch -p0 -i ${srcdir}/$pkgname-paths.diff
patch -p0 -i ${srcdir}/fix-compile.patch
2012-07-19 23:17:15 +08:00
qmake
make
qmake
}
package() {
cd ${srcdir}
make INSTALL_ROOT=${pkgdir} install
#removing unneeded
rm -rf ${pkgdir}/usr/share/app-install
}