2012-08-03 06:52:38 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: george <george[at]chakra-project.org>
|
|
|
|
|
|
|
|
pkgname=kapudan
|
2012-08-05 03:43:08 +08:00
|
|
|
pkgver=20120804
|
2012-08-03 06:52:38 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Chakra's desktop greeter, a fork of Pardus's Kaptan."
|
|
|
|
arch=('i686' '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' 'python-imaging')
|
|
|
|
makedepends=('python-distribute' 'git')
|
|
|
|
optdepends=('spun: update notifications'
|
|
|
|
'clamav: for the security page')
|
2012-08-05 03:43:08 +08:00
|
|
|
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
md5sums=('ad47fb92a8f863338b97aed0cee1f38d')
|
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
2012-08-03 06:52:38 +08:00
|
|
|
|
|
|
|
mksource() {
|
|
|
|
git clone git://gitorious.org/chakra/${pkgname}.git ${pkgname}
|
|
|
|
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}" #--prefix="/usr"
|
|
|
|
install -Dm755 kapudan-rootactions "${pkgdir}/usr/bin/kapudan-rootactions"
|
|
|
|
install -Dm755 kapudan.desktop "${pkgdir}/usr/share/applications/kapudan.desktop"
|
2012-08-05 03:43:08 +08:00
|
|
|
install -Dm644 data/kapudan.svgz \
|
2012-08-03 06:52:38 +08:00
|
|
|
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/kapudan.svgz"
|
|
|
|
install -dm755 \
|
|
|
|
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
|
2012-08-05 03:43:08 +08:00
|
|
|
install -Dm644 data/kde-themes/* \
|
|
|
|
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
|
2012-08-03 06:52:38 +08:00
|
|
|
install -Dm755 kapudan-autostart.desktop \
|
|
|
|
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kapudan-autostart.desktop"
|
|
|
|
}
|