1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: skorpan <kristnjov__gmail>
7 pkgdesc="A BDF font editor"
9 url="http://hea-www.harvard.edu/~fine/Tech/bdfedit.html"
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')
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"