desktop/kapudan/PKGBUILD
2014-01-23 18:23:49 +00:00

54 lines
1.9 KiB
Bash

# Maintainer: george <george[at]chakra-project.org>
pkgname=kapudan
_pkgname=kapudan
pkgver=2014.01.23
pkgrel=1
branch="curie"
pkgdesc="Chakra's desktop greeter, a fork of Pardus's Kaptan."
arch=('x86_64')
url='http://gitorious.org/chakra/kapudan/'
screenshot='http://i.imgur.com/71aU5.png'
license=('GPLv2')
conflicts=('kapudan-git')
depends=('python2' 'kde-baseapps-konsole' 'kde-runtime'
'kdebindings-python2' 'pyqt' 'python2-xlib'
'python2-imaging' 'xdg-user-dirs' 'ksuperkey')
makedepends=('python-distribute' 'git' 'intltool')
optdepends=('spun: update notifications'
'clamav: for the security page')
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('bbf5ab969e7c0df395d0e4b043fe813d')
# create tarball: source PKGBUILD && mksource
mksource() {
if [ "${1}" = "" ] ; then
git clone git://gitorious.org/chakra/${pkgname}.git ${pkgname}
else
git clone -b "${1}" git://gitorious.org/chakra/${pkgname}.git ${pkgname}
fi
pushd ${pkgname}
popd
rm ${pkgname}/PKGBUILD
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}
md5sum ${pkgname}-${pkgver}.tar.xz
}
package() {
cd "${srcdir}/${pkgname}"
python2 setup.py install --root="${pkgdir}"
install -Dm755 kapudan-rootactions "${pkgdir}/usr/bin/kapudan-rootactions"
install -Dm755 kapudan.desktop "${pkgdir}/usr/share/applications/kapudan.desktop"
install -Dm644 data/kapudan.svgz \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/kapudan.svgz"
install -dm755 \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm644 data/kde-themes/* \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm755 kapudan-autostart.desktop \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kapudan-autostart.desktop"
install -Dm755 data/ksuperkey.desktop \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/ksuperkey.desktop"
}