# Maintainer: Luke Shumaker pkgname=(parabolaweb-utils parabolaweb-dev) pkgver=20180326.1 pkgdesc="Utilities for managing the ParabolaWeb website application" url="https://git.parabola.nu/packages/parabolaweb-utils.git/" license=('GPL2') # The commit to get dependency info for # Bump pkgrel instead of pkgver if updating this is the only change _parabolaweb_commit=87bd4a32b2eb983a34bf28eaee6e2c6ce5a405ee pkgrel=3 epoch=1 arch=('i686' 'x86_64' 'armv7h') source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig} "requirements_prod-${_parabolaweb_commit}.txt::https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt?id=${_parabolaweb_commit}") md5sums=('d1e9470ca82f2473ddd6fbe933bae452' 'SKIP' 'c9c3e560f248a9684b0ff8b764da5833') validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9') # Luke Shumaker build() { cd "$srcdir/$pkgname-$pkgver" prod_file="file://${srcdir}/requirements_prod-${_parabolaweb_commit}.txt" make } package_parabolaweb-utils() { cd "$srcdir/$pkgbase-$pkgver" depends=($(< depends.txt)) backup=('etc/conf.d/parabolaweb' 'etc/uwsgi/parabolaweb.ini') 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)) }