blob: 1ba775f714d941c7b5a1b1337d1bed3c514dd340 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Laszlo Papp <djszapi at archlinux dot us>
pkgname=parched-git
pkgver=20100107
pkgrel=1
pkgdesc="A Pacman package and PKGBUILD parser module"
arch=('i686' 'x86_64')
url="http://github.com/sebnow/parched"
license=('MIT')
depends=('git' 'python')
source=(LICENSE)
md5sums=('31eccf56949504b5ce33110068948cf2')
_gitroot="git://github.com/sebnow/parched.git"
_gitname="parched"
build() {
cd "$srcdir"
msg "Connecting to the parched git repository..."
if [ -d "$srcdir/$_gitname" ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd $srcdir/$_gitname
python setup.py build || return 1
python setup.py install --root=$pkgdir --optimize=1 || return 1
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|