updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / pixel-demo / PKGBUILD
blob44d81fb27a83020772d9e7445a7973d350cb20f1
1 #Contributor: Tony Dodd <arch@recalcitrance.net>
2 pkgname=pixel-demo
3 pkgver=1.0.699
4 pkgrel=1
5 pkgdesc="Pixel Image Editor - a cross-platform image editor"
6 url="http://www.kanzelsberger.com/pixel/"
7 license=('custom')
8 depends=('freetype2' 'libpng' 'sdl' 'libxi' 'openexr' 'aspell' 'lcms')
9 makedepends=()
10 source=(http://www.pixelcommunity.com/bin/pixeldemo_${pkgver}-1_i386.deb)
11 install=
12 md5sums=('fb3fecfb5d8e7d8571a432e3ac60e6b9')
13 arch=('i686')
14 conflicts=('pixel')
16 build() {
17     cd $startdir/src/
18     ar -x pixeldemo_${pkgver}-1_i386.deb
19     cd $startdir/pkg/
20     tar -xvzf $startdir/src/data.tar.gz
22     chmod a+rx -R *
23     find . -type f -exec chmod -x \{\} \;
24     chmod +x usr/bin/pixeldemo
25     rm -r usr/sbin
27     mkdir -p usr/share/licenses/pixeldemo
28     mv usr/share/doc/pixeldemo/copyright usr/share/licenses/pixeldemo