updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / pacweb-git / PKGBUILD
blob49c301aa85bdf9fc2b89d83b2e02c206c4ae1262
1 # Maintainer : Rémy Oudompheng <remy@archlinux.org>
3 pkgname=pacweb-git
4 pkgver=20110703
5 pkgrel=1
6 pkgdesc="A web interface to pacman"
7 arch=('any')
8 url="http://projects.archlinux.org/users/remy/pacweb.git/"
9 license=('GPL')
10 depends=('python-jinja' 'pyalpm' 'python-distribute')
11 makedepends=('git')
12 source=("pacweb.sh")
14 _gitroot='git://projects.archlinux.org/users/remy/pacweb.git'
15 _gitname=pacweb
17 build() {
18   cd "$srcdir"
19   msg "Connecting to GIT server...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull
23     msg "The local files are updated."
24   else
25     git clone $_gitroot $_gitname
26     cd $_gitname
27   fi
29   python setup.py build
32 package() {
33   cd ${srcdir}/${_gitname}
34   python setup.py install --root=${pkgdir}
35   install -D -m 755 ${srcdir}/pacweb.sh ${pkgdir}/usr/bin/pacweb
38 md5sums=('c6f57c734f0873f4720089b9d02ed5a2')