updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ignuit / PKGBUILD
blob5830e1851f98a9ae83d4ed03b40508200e8af0c1
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=ignuit
4 pkgver=0.0.16
5 pkgrel=1
6 pkgdesc="A memorization aid based on the Leitner flashcard system"
7 arch=('i686' 'x86_64')
8 url="http://homepages.ihug.co.nz/~trmusson/programs.html#ignuit"
9 license=('GPL')
10 depends=('gconf' 'gnome-doc-utils' 'gstreamer0.10-base' 'hicolor-icon-theme' 'intltool' 'libgnomeui' 'libglade' 'libxslt')
11 install=$pkgname.install
12 source=(http://homepages.ihug.co.nz/~trmusson/stuff/$pkgname-$pkgver.tar.gz \
13         $pkgname.desktop \
14         http://homepages.ihug.co.nz/~trmusson/$pkgname/countries_and_capitals-en.xml \
15         http://homepages.ihug.co.nz/~trmusson/$pkgname/numbers_days_months-en_ru-without_audio.xml)
16 md5sums=('9edaf56cbae79d5b0b71f581beacaa6f'
17          '24a8740af9dc95abd36e08b8de043aca'
18          '1ec81d4a384c44cb5c1a132dacc5a5fe'
19          '0608272132bf7e470ad1486dafdc6780')
21 build() {
22   cd ${srcdir}/$pkgname-$pkgver
24   ./configure --prefix=/usr --with-gconf-schema-file-dir=/etc/gconf/schemas
25   make || return 1
26   make DESTDIR=${pkgdir} install
28   rm -r ${pkgdir}/usr/share/locale || return 1
30 #example files
31   install -D -m644 ${srcdir}/countries_and_capitals-en.xml \
32     ${pkgdir}/usr/share/$pkgname/examples/countries_and_capitals-en.xml || return 1
33   install -D -m644 ${srcdir}/numbers_days_months-en_ru-without_audio.xml \
34     ${pkgdir}/usr/share/$pkgname/examples/numbers_days_months-en_ru-without_audio.xml || return 1
36 #.desktop file
37   install -D -m644 ${srcdir}/$pkgname.desktop \
38     ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1