updated on Mon Jan 23 04:00:55 UTC 2012
[aur-mirror.git] / ksplasherx / PKGBUILD
blob62ca055f890df7d42c66a496282ee358fad0e037
1 # Maintainer: Jekyll Wu <adaptee at gmail dot com>
2 # Contributor: maddien <martinstitz@gmx.de>
4 pkgname=ksplasherx
5 pkgver=2.0beta2
6 pkgrel=3
7 pkgdesc="A Splash Screen Editor and Creator for KDE4"
8 arch=( any )
9 url="http://sourceforge.net/projects/ksplasher"
10 license="GPL"
11 depends=('python2-qt' 'pil')
12 source=(http://www.kde-look.org/CONTENT/content-files/88975-ksplasherx2.0beta2.tar.gz)
13 md5sums=('8BA51CCA68FD15919F08C44CA7104095')
15 build()
17     cd "${srcdir}/${pkgname}"
19     # only works with python2
20     sed -i 's/python/python2/' ksplasherx
23 package()
25     mkdir "${pkgdir}/usr"
26     mkdir "${pkgdir}/usr/share"
27     mkdir "${pkgdir}/usr/share/ksplasherx"
28     mkdir "${pkgdir}/usr/share/applications"
29     mkdir "${pkgdir}/usr/share/pixmaps"
30     mkdir "${pkgdir}/usr/bin/"
32     cd "${srcdir}/ksplasherx"
33     cp -r * "${pkgdir}/usr/share/ksplasherx"
34     rm "${pkgdir}/usr/share/ksplasherx/ksplasherx"
35     cp ksplasherx "${pkgdir}/usr/bin/"
36     cp ksplasherx.desktop "${pkgdir}/usr/share/applications/"
37     cp ksicon.png "${pkgdir}/usr/share/pixmaps/"
39     chmod +x "${pkgdir}/usr/bin/ksplasherx"