summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2019-04-07 12:19:11 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2019-04-07 14:41:35 -0400
commit6fdd40397d6f63be13cc533e43a40420da50329a (patch)
treeeb3c966b9cca84e80c15aaa2cfa3333dd01898a2 /libre/parabolaweb-utils
parente0fc18bf0bffefb021046993396e2b103dfcd943 (diff)
downloadabslibre-6fdd40397d6f63be13cc533e43a40420da50329a.tar.gz
abslibre-6fdd40397d6f63be13cc533e43a40420da50329a.tar.bz2
abslibre-6fdd40397d6f63be13cc533e43a40420da50329a.zip
libre/parabolaweb-utils: Update 20180326.1 → 20190407.1
Diffstat (limited to 'libre/parabolaweb-utils')
-rw-r--r--libre/parabolaweb-utils/PKGBUILD31
1 files changed, 21 insertions, 10 deletions
diff --git a/libre/parabolaweb-utils/PKGBUILD b/libre/parabolaweb-utils/PKGBUILD
index df4ed531d..aa8e4fdb4 100644
--- a/libre/parabolaweb-utils/PKGBUILD
+++ b/libre/parabolaweb-utils/PKGBUILD
@@ -1,35 +1,46 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
pkgname=(parabolaweb-utils parabolaweb-dev)
-pkgver=20180326.1
+pkgver=20190407.1
pkgdesc="Utilities for managing the ParabolaWeb website application"
url="https://git.parabola.nu/packages/parabolaweb-utils.git/"
license=('GPL2')
+makedepends=('python-pip')
# The commit to get dependency info for
# Bump pkgrel instead of pkgver if updating this is the only change
-_parabolaweb_commit=87bd4a32b2eb983a34bf28eaee6e2c6ce5a405ee
+_parabolaweb_commit=f013c8d8cb06f7c993bbc41519de5ab7dd2ce0c4
-pkgrel=3
+pkgrel=1
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')
+ "requirements_prod-${_parabolaweb_commit}.txt::https://git.parabola.nu/server/parabolaweb.git/plain/requirements_prod.txt?id=${_parabolaweb_commit}"
+ "requirements-${_parabolaweb_commit}.txt::https://git.parabola.nu/server/parabolaweb.git/plain/requirements.txt?id=${_parabolaweb_commit}")
+sha256sums=('c352e225d65597066cb986db263461cf5bc3d317b459b38fcea4212cabae7fa3'
+ 'SKIP'
+ '67cf8fb90fd7f0e465d68b05ce3ff3d74ea5b0defd2bd26e0b46e66f3e44e380'
+ '8d8b7dae5a36471e0db0832a0ac315409ef43972d98223a6ad4db038991dc7fb')
validpgpkeys=('99195DD3BB6FE10A2F36ED8445698744D4FFBFC9') # Luke Shumaker
+prepare() {
+ cd "$srcdir"
+ ln -sf requirements-${_parabolaweb_commit}.txt requirements.txt
+ ln -sf requirements_prod-${_parabolaweb_commit}.txt requirements_prod.txt
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
- prod_file="file://${srcdir}/requirements_prod-${_parabolaweb_commit}.txt" make
+ prod_file=../requirements_prod.txt make
}
package_parabolaweb-utils() {
cd "$srcdir/$pkgbase-$pkgver"
depends=($(< depends.txt))
- backup=('etc/conf.d/parabolaweb' 'etc/uwsgi/parabolaweb.ini')
+ backup=('etc/conf.d/parabolaweb'
+ 'etc/uwsgi/parabolaweb.ini'
+ 'etc/sudoers.d/10-parabolaweb')
make install DESTDIR="$pkgdir"
}