mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# $Id: PKGBUILD 49858 2009-08-16 19:07:52Z jgc $
|
|
# Contributor: Roman Kreisel <roman.kreisel@epost.de>
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=ding
|
|
pkgver=1.6
|
|
pkgrel=1
|
|
pkgdesc="A Dictionary Lookup program and EN<->DE Dictionary"
|
|
arch=('any')
|
|
license=('GPL')
|
|
url="http://www-user.tu-chemnitz.de/~fri/ding"
|
|
depends=('sh' 'tk' 'grep')
|
|
source=(http://wftp.tu-chemnitz.de/pub/Local/urz/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
ding.desktop)
|
|
md5sums=('6f336c9b66f37c99b98e13659b493d54'
|
|
'9f1a22cd58ee95eda9fd434e34a50f62')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
install -m755 -d "${pkgdir}/usr/bin"
|
|
install -m755 -d "${pkgdir}/usr/share/dict"
|
|
install -m755 -d "${pkgdir}/usr/share/man/man1"
|
|
install -m755 -d "${pkgdir}/usr/share/applications"
|
|
install -m755 -d "${pkgdir}/usr/share/pixmaps"
|
|
|
|
sed -i -e 's/ger-en.txt/de-en.txt/g' ding || return 1
|
|
|
|
install -m755 ding "${pkgdir}/usr/bin/" || return 1
|
|
install -m644 ding.1 "${pkgdir}/usr/share/man/man1/" || return 1
|
|
install -m644 de-en.txt "${pkgdir}/usr/share/dict/" || return 1
|
|
install -m644 ding.png "${pkgdir}/usr/share/pixmaps/" || return 1
|
|
|
|
install -m644 "${srcdir}/ding.desktop" "${pkgdir}/usr/share/applications/" || return 1
|
|
}
|