updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / pyfloppy / PKGBUILD
blob730b8c9c507282bbefe1414ae7bc1c6b0cad0518
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
4 pkgname=pyfloppy
5 pkgver=1.6
6 pkgrel=4
7 pkgdesc="Graphical floppy disk formatting tool written in Python/Tkinter"
8 arch=('any')
9 url="http://klappnase.bubble.org/pyfloppy/"
10 license=('GPL')
11 depends=('python' 'tk' 'util-linux' 'e2fsprogs' 'dosfstools')
12 source=(http://klappnase.bubble.org/download/$pkgname-$pkgver.tar.bz2 \
13   $pkgname.desktop)
14 md5sums=('920642c237d39548e438a4598acc349d'
15          '7e87a981b5224cca5a5e642f047d359a')
17 build() {
18   cd "$srcdir"/$pkgname-$pkgver
19   # install program
20   install -Dm755 $pkgname.py "$pkgdir"/usr/bin/$pkgname
21   install -Dm644 doc/ChangeLog "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
22   install -Dm644 doc/README "$pkgdir"/usr/share/doc/$pkgname/README
23   install -Dm644 locale/de.gmo "$pkgdir"/usr/share/locale/de/LC_MESSAGES/$pkgname.mo
24   install -Dm644 locale/es.gmo "$pkgdir"/usr/share/locale/es/LC_MESSAGES/$pkgname.mo
25   # install desktop file
26   install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop