desktop/kapudan/PKGBUILD

48 lines
1.7 KiB
Bash
Raw Normal View History

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
pkgver=20120802
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')
source=("http://chakra-linux.org/sources/kapudan/${pkgname}-${pkgver}.tar.xz")
screnshot=('http://i.imgur.com/T7wEn.png')
md5sums=('139904947ccfa9d74934861920ba18ee')
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"
install -Dm755 data/kapudan.svgz \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/kapudan.svgz"
install -dm755 \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm755 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"
}