summaryrefslogtreecommitdiff
path: root/~lukeshu/parabolaweb-git/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:37:01 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-06 21:37:01 -0400
commitef70ca717bdecae1b909b8b24970e81eee20b985 (patch)
tree77883bc43e2746982f494769b813e18964f1eaed /~lukeshu/parabolaweb-git/PKGBUILD
parent5f338c195e399f2c2486e06be0851d4f597162d7 (diff)
downloadabslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.tar.gz
abslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.tar.bz2
abslibre-ef70ca717bdecae1b909b8b24970e81eee20b985.zip
Make parabolaweb-git not actually clone parabolaweb, but provide parabolaweb tools
Diffstat (limited to '~lukeshu/parabolaweb-git/PKGBUILD')
-rw-r--r--~lukeshu/parabolaweb-git/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/~lukeshu/parabolaweb-git/PKGBUILD b/~lukeshu/parabolaweb-git/PKGBUILD
index 962b1c977..4641ea8d3 100644
--- a/~lukeshu/parabolaweb-git/PKGBUILD
+++ b/~lukeshu/parabolaweb-git/PKGBUILD
@@ -1,20 +1,19 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# This does not follow normal package guidelines; it is not a normal package.
pkgname=parabolaweb-git
-pkgver=20120228
-pkgrel=2
+pkgver=20120506
+pkgrel=3
pkgdesc="The Parabola website, fork of archweb"
arch=('any')
url="https://projects.parabolagnulinux.org/parabolaweb.git/"
license=('GPL2')
-_requirements=https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt
-depends=('python2' 'git'
- `curl -s "$_requirements" | sed -r -e 's/.*/\L&/' -e 's/==/=/' \
- -e 's/^(south)/python-&/' \
- -e 's/^(markdown|psycopg2|pyinotify|pytz)/python2-&/'`)
-install=parabolaweb.install
+_deps_file=deps-ver.txt
+#_deps_file=deps-nover.txt
+make "$_deps_file" 1>&2
+depends=('python2' 'git' 'libretools' `cat $_deps_file`)
+
+source=('parabolaweb.init.sh' 'parabolaweb.update.sh.in')
# These will make it install into /http/srv/web
_install_dir=/srv/http
@@ -24,14 +23,21 @@ _gitroot=https://projects.parabolagnulinux.org/parabolaweb.git
_gitbranch="master"
build() {
- sed -i \
+ cd "${srcdir}"
+ sed \
-e "s|^_install_dir=.*|_install_dir='$_install_dir'|" \
-e "s|^_gitname=.*|_gitname='$_gitname'|" \
-e "s|^_gitroot=.*|_gitroot='$_gitroot'|" \
-e "s|^_gitbranch=.*|_gitbranch='$_gitbranch'|" \
- ../parabolaweb.install
+ < parabolaweb.update.sh.in > parabolaweb.update.sh
}
package() {
+ cd "${srcdir}"
install -d "${pkgdir}/${_install_dir}"
+ install -Dm755 parabolaweb.init.sh "${pkgdir}/etc/rc.d/parabolaweb"
+ install -Dm755 parabolaweb.update.sh "${pkgdir}/usr/sbin/parabolaweb.update"
}
+
+md5sums=('72bc7092e4e50a2aaca8b871644520d9'
+ 'f495b2e4623691925308cb4a1ec7e5a9')