1 # Maintainer: Jekyll Wu <adaptee at gmail dot com>
2 # Contributor: maddien <martinstitz@gmx.de>
7 pkgdesc="A Splash Screen Editor and Creator for KDE4"
9 url="http://sourceforge.net/projects/ksplasher"
11 depends=('python2-qt' 'pil')
12 source=(http://www.kde-look.org/CONTENT/content-files/88975-ksplasherx2.0beta2.tar.gz)
13 md5sums=('8BA51CCA68FD15919F08C44CA7104095')
17 cd "${srcdir}/${pkgname}"
19 # only works with python2
20 sed -i 's/python/python2/' ksplasherx
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"