updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cute-converter / PKGBUILD
blob325d1b8825d51b46e10132b6e57cde6810719587
1 # Maintainer: moostik <mooostik_at_gmail.com>
3 pkgname=cute-converter
4 pkgver=2.1
5 pkgrel=1
6 pkgdesc="A units converter in PyQt"
7 arch=('any')
8 url='http://kde-apps.org/content/show.php/?content=122545'
9 license=('GPL3') 
10 depends=('python2' 'python2-qt')
11 source=(http://downloads.sourceforge.net/project/qt-converter/Source/qt-converter-${pkgver}.tar.bz2
12         cute-converter.sh
13         cute-converter.desktop)
15 package() {
16   # Installing application
17   cd $srcdir/Cute\ Converter/
18   install -d -m755 $pkgdir/usr/lib/cute-converter
19   cp -r -p * $pkgdir/usr/lib/cute-converter/
20   rm $pkgdir/usr/lib/cute-converter/{README,COPYING}
21   install -d -m755 $pkgdir/usr/bin
22   install -D -m755 $srcdir/cute-converter.sh $pkgdir/usr/bin/cute-converter
24   # Installing menu item
25   install -D -m644 icons/converter.png $pkgdir/usr/share/pixmaps/$pkgname.png
26   install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
29 md5sums=('20a94137efdc4eb30c8ae2884d215794'
30          'a036e6217c2f9ecf519f20eb0f2e0520'
31          'a47d7a9f830d441d2953f9c591a94e27')