desktop/kapudan/PKGBUILD

49 lines
1.7 KiB
Bash
Raw Normal View History

2012-08-03 06:52:38 +08:00
#
2012-10-18 22:42:48 +08:00
# Desktop Packages for Chakra, part of chakra-project.org
2012-08-03 06:52:38 +08:00
#
# Maintainer: george <george[at]chakra-project.org>
pkgname=kapudan
pkgver=20121018
pkgrel=2
2012-08-03 06:52:38 +08:00
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' 'python2-imaging')
2012-10-18 22:42:48 +08:00
makedepends=('python-distribute' 'git')
2012-08-03 06:52:38 +08:00
optdepends=('spun: update notifications'
'clamav: for the security page')
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('432b63913800fd43b33a53d5b9a1d5c7')
# create tarball: source PKGBUILD && mksource
2012-08-03 06:52:38 +08:00
mksource() {
2012-10-18 22:42:48 +08:00
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
2012-08-03 06:52:38 +08:00
}
package() {
2012-10-18 22:42:48 +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"
2012-08-03 06:52:38 +08:00
}