1 #Contributor: Otakar Haška <ota.haska@seznam.cz>
6 pkgdesc="Swatch book viewer/convertor/editor"
7 url="http://www.selapa.net/swatchbooker/"
8 depends=('python' 'pyqt' 'lcms' 'pil')
12 source=(http://launchpad.net/swatchbooker/trunk/0.7.3/+download/SwatchBooker-$pkgver.tar.gz
14 md5sums=('d5c2d6d58679b233e2c298381b164acd')
18 cd ${srcdir}/SwatchBooker-$pkgver
25 cd ${srcdir}/SwatchBooker-$pkgver
26 ./setup.py install --prefix ${pkgdir}/usr/
27 for i in ${pkgdir}/usr/bin/*; do chmod +x $i; done
28 for i in ${pkgdir}/usr/share/applications/*.desktop; do sed -i 's/Icon=swatchbooker/Icon=\/usr\/share\/icons\/swatchbooker.svg/g' $i; done