updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / ding / PKGBUILD
blobe098722a4b1322ca937039d6bd897f819fbde4ae
1 # Maintainer: Heiko Baums <heiko@baums-on-web.de>
2 # Contributor: Roman Kreisel <roman.kreisel@epost.de>
3 # Contributor: damir <damir@archlinux.org>
5 pkgname=ding
6 pkgver=1.7
7 pkgrel=2
8 pkgdesc="A Dictionary Lookup program and EN<->DE Dictionary"
9 arch=('any')
10 license=('GPL')
11 url="http://www-user.tu-chemnitz.de/~fri/ding"
12 depends=('sh' 'tk' 'tre' 'aspell')
13 source=(http://ftp.tu-chemnitz.de/pub/Local/urz/${pkgname}/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('f021c0cb21105cf0ccd38330c2598ed1')
16 package() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   install -m755 -d "${pkgdir}/usr/bin"
19   install -m755 -d "${pkgdir}/usr/share/dict"
20   install -m755 -d "${pkgdir}/usr/share/man/man1"
21   install -m755 -d "${pkgdir}/usr/share/applications"
22   install -m755 -d "${pkgdir}/usr/share/pixmaps"
24   sed -i -e 's/ger-en.txt/de-en.txt/g' ding
26   install -m755 ding "${pkgdir}/usr/bin/"
27   install -m644 ding.1 "${pkgdir}/usr/share/man/man1/"
28   install -m644 de-en.txt "${pkgdir}/usr/share/dict/"
29   install -m644 ding.png "${pkgdir}/usr/share/pixmaps/"
30   install -m644 ding.desktop "${pkgdir}/usr/share/applications/"