updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / swatchbooker / PKGBUILD
bloba10b12018c2aa17e2e3daf301e93a8ffb0bbe309
1 #Contributor: Otakar Haška <ota.haska@seznam.cz>
3 pkgname=swatchbooker
4 pkgver=0.7.3
5 pkgrel=1
6 pkgdesc="Swatch book viewer/convertor/editor"
7 url="http://www.selapa.net/swatchbooker/"
8 depends=('python' 'pyqt' 'lcms' 'pil')
9 arch=('i686' 'x86_64')
10 license="GPL"
11 conflicts=()
12 source=(http://launchpad.net/swatchbooker/trunk/0.7.3/+download/SwatchBooker-$pkgver.tar.gz 
13         )
14 md5sums=('d5c2d6d58679b233e2c298381b164acd')
16 build() {
17  # Build Ipe
18  cd ${srcdir}/SwatchBooker-$pkgver
19  ./setup.py build
21
23 package() {
24  mkdir ${pkgdir}/usr
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