summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 528f40cffc1672f25b909f5ebdbbad175b9ed847 (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=ignuit
pkgver=2.24.2
pkgrel=1
pkgdesc="A memorization aid based on the Leitner flashcard system"
arch=('i686' 'x86_64')
url="http://homepages.ihug.co.nz/~trmusson/programs.html#ignuit"
license=('GPL')
depends=('gconf' 'gnome-doc-utils' 'gstreamer0.10-base' 'hicolor-icon-theme' 'intltool' 'libgnomeui' 'libglade' 'libxslt')
source=(http://homepages.ihug.co.nz/~trmusson/stuff/$pkgname-$pkgver.tar.gz
        $pkgname.desktop
        http://homepages.ihug.co.nz/~trmusson/$pkgname/countries_and_capitals-en.xml
        http://homepages.ihug.co.nz/~trmusson/$pkgname/numbers_days_months-en_ru-without_audio.xml)
sha256sums=('71d6b21f75a927ab733084603659cf8e0360cad8f83fef62853d96ed7834eebe'
            '89c160391f5d39b47a9b0ce6dc28080d96acebee356d1a7372a18a8511fea935'
            '60f82b36b02bfa504f5a3f9f0c1c1d96856f675470ecd5fd56dbf4c185e381e7'
            '77523badda6c08af9728f1f45defc04c1c609154cdb285088228f96dc1930191')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --prefix=/usr --with-gconf-schema-file-dir=/etc/gconf/schemas
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install

  rm -r "${pkgdir}"/usr/share/locale

#example files
  install -Dm644 "${srcdir}"/countries_and_capitals-en.xml \
    "${pkgdir}"/usr/share/$pkgname/examples/countries_and_capitals-en.xml
  install -Dm644 "${srcdir}"/numbers_days_months-en_ru-without_audio.xml \
    "${pkgdir}"/usr/share/$pkgname/examples/numbers_days_months-en_ru-without_audio.xml

#.desktop file
  install -Dm644 "${srcdir}"/$pkgname.desktop \
    "${pkgdir}"/usr/share/applications/$pkgname.desktop
}