updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bdfedit / PKGBUILD
blob0ef79ba2759f19dd15842b58bf99db7062be7c05
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: skorpan <kristnjov__gmail>
4 pkgname=bdfedit
5 pkgver=1.3
6 pkgrel=2
7 pkgdesc="A BDF font editor"
8 arch=('i686' 'x86_64')
9 url="http://hea-www.harvard.edu/~fine/Tech/bdfedit.html"
10 license=('custom')
11 depends=('tk>7.6')
12 source=(http://hea-www.harvard.edu/~fine/Tech/$pkgname$pkgver.tar.gz
13         $pkgname-$pkgver.diff $pkgname.desktop $pkgname.png COPYING)
14 md5sums=('c29a74fa4d964e197f96c66777ccf18b'
15          '798b259174b2c40f1f09ad7df02826c2'
16          'cc38495a1624a78294d161f292788924'
17          'f551c9469dcda602dc0acd7a33133b9a'
18          '35379c7a2a47829d73fc0649c0332d2d')
20 build() {
21   cd "$srcdir/$pkgname$pkgver"
22   patch -Np1 -i ../$pkgname-$pkgver.diff || return 1
23   install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
24   install -Dm644 completion.tcl "$pkgdir/usr/share/$pkgname/completion.tcl"
25   install -Dm644 $pkgname.samprc "$pkgdir/etc/bdfeditrc"
26   install -Dm644 $pkgname.help "$pkgdir/usr/share/doc/$pkgname/readme.txt"
27   install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
28   install -Dm644 ../$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
29   install -Dm644 ../$pkgname.desktop \
30     "$pkgdir/usr/share/applications/$pkgname.desktop"