# Maintainer: Luke Shumaker pkgname=(parabolaweb-utils parabolaweb-dev) pkgver=20130717 pkgdesc="Utilities for managing the parabolaweb website application" url="https://projects.parabolagnulinux.org/packages/parabolaweb-utils.git/" license=('GPL2') pkgrel=1 epoch=1 arch=('any') source=( "https://projects.parabolagnulinux.org/packages/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2" "https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt" ) build() { cd "$srcdir/$pkgname-$pkgver" prod_file="file://${srcdir}/requirements_prod.txt" make } package_parabolaweb-utils() { cd "$srcdir/$pkgbase-$pkgver" depends=($(cat depends.txt)) backup=('etc/conf.d/parabolaweb') make install DESTDIR="$pkgdir" } package_parabolaweb-dev() { cd "$srcdir/$pkgbase-$pkgver" pkgdesc="Depends on packages needed to develop parabolaweb" depends=($(sed -r -e 's/\s*#.*//' depends_make.txt)) } md5sums=('a6734335001c7695d5a57fb509f8a745' 'c84e52d81683cb3d572571ac19be89ac')