desktop/kapudan/PKGBUILD

54 lines
1.9 KiB
Bash
Raw Normal View History

2013-12-18 02:41:12 +08:00
# Maintainer: george <george@chakra-project.org>
2012-08-03 06:52:38 +08:00
pkgname=kapudan
2013-03-03 05:09:32 +08:00
_pkgname=kapudan
2014-01-30 05:09:28 +08:00
pkgver=2014.01.29
2014-02-01 07:26:31 +08:00
pkgrel=2
branch="curie"
2012-08-03 06:52:38 +08:00
pkgdesc="Chakra's desktop greeter, a fork of Pardus's Kaptan."
2012-12-29 11:47:07 +08:00
arch=('x86_64')
2012-08-03 06:52:38 +08:00
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'
2014-01-26 02:34:12 +08:00
'kdebindings-python2' 'python2-pyqt4' 'python2-xlib'
'python2-imaging' 'xdg-user-dirs' 'ksuperkey')
2013-03-03 05:09:32 +08:00
makedepends=('python-distribute' 'git' 'intltool')
2012-08-03 06:52:38 +08:00
optdepends=('spun: update notifications'
'clamav: for the security page')
2013-03-03 05:09:32 +08:00
source=("${pkgname}-${pkgver}.tar.xz")
2014-02-01 07:26:31 +08:00
md5sums=('e3aecd4b03ea1bc48ea5bfa5b990dda9')
# create tarball: source PKGBUILD && mksource
2012-08-03 06:52:38 +08:00
mksource() {
2013-02-06 01:56:55 +08:00
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
2012-10-18 22:42:48 +08:00
pushd ${pkgname}
popd
rm ${pkgname}/PKGBUILD
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}
md5sum ${pkgname}-${pkgver}.tar.xz
2012-08-03 06:52:38 +08:00
}
package() {
2013-03-03 05:09:32 +08:00
cd "${srcdir}/${pkgname}"
2012-08-10 06:53:14 +08:00
python2 setup.py install --root="${pkgdir}"
2012-08-03 06:52:38 +08:00
install -Dm755 kapudan-rootactions "${pkgdir}/usr/bin/kapudan-rootactions"
install -Dm755 kapudan.desktop "${pkgdir}/usr/share/applications/kapudan.desktop"
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/"
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 \
2012-10-18 22:42:48 +08:00
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kapudan-autostart.desktop"
install -Dm755 data/ksuperkey.desktop \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/ksuperkey.desktop"
2012-08-03 06:52:38 +08:00
}