blob: 81843a581d306cba6f56f8c0e9a9f6957965d6b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $Id: PKGBUILD 81945 2013-01-04 02:28:55Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Neil Lin <neil@vip.url.com.tw>
pkgname=stardict
pkgver=3.0.4
pkgrel=1
pkgdesc='International dictionary software'
arch=('i686' 'x86_64')
url='http://www.stardict.org/'
license=('GPL')
depends=('enchant' 'gtk2' 'libsigc++' 'libsm' 'espeak' 'libgnome')
makedepends=('intltool' 'popt' 'gnome-doc-utils' 'gnome-common' 'libmysqlclient')
options=('!libtool' '!emptydirs')
source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2"
'gcc46.patch'
'glib2.patch'
'zlib.patch')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../gcc46.patch
patch -p1 -i ../glib2.patch
patch -p1 -i ../zlib.patch
./configure \
PKG_CONFIG=/usr/bin/pkg-config \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--disable-schemas-install \
--disable-gucharmap \
--disable-festival \
--disable-updateinfo \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
md5sums=('0a9abf1936c43a3ee255802c75267f1a'
'52ff47441c503de07add4b7688510bc5'
'b2f216897c9053c7e4666c3d78705cf1'
'ee26dce70fc83b3ce86e5100fede7fad')
|