mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
54 lines
1.9 KiB
Bash
54 lines
1.9 KiB
Bash
# Maintainer: george <george[at]chakra-project.org>
|
|
|
|
pkgname=kapudan
|
|
_pkgname=kapudan
|
|
pkgver=2014.01.29
|
|
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' 'python2-pyqt4' '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=('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"
|
|
install -Dm755 data/ksuperkey.desktop \
|
|
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/ksuperkey.desktop"
|
|
}
|