Commit | Line | Data |
---|---|---|
209feeb0 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | ||
3 | pkgname=kolourpaint-bin | |
4 | dlpkgname=kolourpaint | |
5 | pkgver=1.2.2_kde3 | |
6 | binver=3bin | |
7 | ||
8 | pkgrel=1 | |
9 | pkgdesc="Binary version of simple, easy-to-use paint program for KDE. This is temporary version meant to be replaced by source version in future." | |
10 | arch=('i686') | |
11 | license=('GPL') | |
12 | url="http://kolourpaint.sourceforge.net/" | |
13 | depends=('qt3' 'kdelibs3') | |
14 | conflicts=('kolourpaint') | |
15 | provides=('kolourpaint') | |
16 | source=(http://downloads.sourceforge.net/sourceforge/kolourpaint/${dlpkgname}-${pkgver}-${binver}.tar.bz2) | |
17 | md5sums=('4b699de6a68600eee8df349b046c88ee') | |
18 | ||
19 | build() { | |
20 | cd ${srcdir}/${dlpkgname}-${pkgver}-${binver} | |
21 | ||
22 | mkdir -p ${pkgdir}/opt/kolourpaint | |
23 | cp -r ${srcdir}/${dlpkgname}-${pkgver}-${binver}/* ${pkgdir}/opt/kolourpaint/ | |
24 | chmod -R 655 ${pkgdir}/opt/kolourpaint/ | |
25 | ||
26 | mkdir -p ${pkgdir}/usr/bin | |
27 | echo '#!/bin/sh | |
28 | /opt/kolourpaint/kolourpaint $@' > ${pkgdir}/usr/bin/kolourpaint | |
29 | chmod -R 655 ${pkgdir}/usr/bin/kolourpaint | |
30 | } | |
31 |