PKGBUILDs/extra/pacbuild/PKGBUILD

26 lines
880 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 35938 2009-04-18 11:42:35Z andrea $
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=pacbuild
pkgver=0.4
pkgrel=2
pkgdesc="A distributed build management system"
arch=(i686 x86_64)
url="http://groups.google.com/group/pacbuild"
license=("GPL")
depends=('snarf' 'python-sqlobject' 'python-pysqlite')
backup=('etc/appleConfig.py' 'etc/strawberryConfig.py' 'etc/mkchroot.conf')
source=(ftp://ftp.archlinux.org/other/pacbuild/$pkgname-$pkgver.tar.gz)
md5sums=('ad467a286046882ddc0a79b9e7c1b60e')
sha1sums=('1af9f97dc57fb273747a44bc96502c417b83121a')
build() {
cd $srcdir/$pkgname-$pkgver
python setup.py install --root $pkgdir || return 1
touch $pkgdir/etc/appleConfig.pyc
touch $pkgdir/etc/strawberryConfig.pyc
install -d $pkgdir/etc/rc.d
install -m 755 apple.rcd $pkgdir/etc/rc.d/apple
install -m 755 strawberry.rcd $pkgdir/etc/rc.d/strawberry
}