1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Manuel "ekerazha" C. (www.ekerazha.com)
7 pkgdesc="A GUI tool for creating and managing SQLite databases"
9 url="http://pysqlitegui.ospdev.net/"
11 depends=('pygtk' 'python-pysqlite' 'python-pysqlite-legacy')
12 source=(http://mirror.lfeo.ir/$pkgname/$pkgname/$pkgver/pySQLiteGUI-$pkgver.tar.bz2
15 md5sums=('ee1410da30b4bf9f9994bed4373c184d'
16 '33c1f15e6b30ba1be6f00f152a1b0364'
17 'a8881ff3bb1bce90035ee4d7c557e78e')
20 cd "$srcdir"/pySQLiteGUI/src
23 sed -i "s,psqlitegui.glade,/usr/share/$pkgname/psqlitegui.glade,g" $pkgname.py
26 install -Dm755 $pkgname.py "$pkgdir"/usr/bin/$pkgname
29 install -Dm644 psqlitegui.glade "$pkgdir"/usr/share/$pkgname/psqlitegui.glade
30 install -Dm644 psqlitegui.gladep "$pkgdir"/usr/share/$pkgname/psqlitegui.gladep
32 # install desktop file and icon
33 install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
34 install -Dm644 "$srcdir"/$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png