desktop/kapudan/PKGBUILD
2014-01-21 22:38:47 +01:00

52 lines
1.8 KiB
Bash

# Maintainer: george <george[at]chakra-project.org>
pkgname=kapudan
_pkgname=kapudan
pkgver=2014.01.21
pkgrel=1
branch="benz"
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-pykde4' 'pyqt' 'python2-xlib'
'python2-v4l2capture' 'python2-imaging')
makedepends=('python-distribute' 'git' 'intltool')
optdepends=('spun: update notifications'
'clamav: for the security page')
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('5e244a56e5f9f984d313e99f6fba6278')
# 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"
}