summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/parabolaweb-utils/PKGBUILD')
-rw-r--r--libre/parabolaweb-utils/PKGBUILD43
1 files changed, 18 insertions, 25 deletions
diff --git a/libre/parabolaweb-utils/PKGBUILD b/libre/parabolaweb-utils/PKGBUILD
index 2ab0c142e..5a6354fe5 100644
--- a/libre/parabolaweb-utils/PKGBUILD
+++ b/libre/parabolaweb-utils/PKGBUILD
@@ -1,12 +1,7 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-. "${startdir:-.}/helper.sh"
-# provides:
-# _get_depends
-# _get_depends_nover (no version requirements)
-
-pkgname=parabolaweb-utils
-pkgver=20130714
+pkgname=(parabolaweb-utils parabolaweb-dev)
+pkgver=20130716
pkgdesc="Utilities for managing the parabolaweb website application"
url="https://projects.parabolagnulinux.org/packages/parabolaweb-utils.git/"
license=('GPL2')
@@ -14,27 +9,25 @@ license=('GPL2')
pkgrel=1
epoch=1
arch=('any')
-backup=('etc/conf.d/parabolaweb')
-if [[ -z $NODEPENDS ]]; then
- list_depends="${srcdir:-src}/$pkgname-$pkgver/list-depends"
- if ! [[ -f $list_depends ]]; then
- NODEPENDS=true makepkg -o
- fi
- depends=($(
- cd "${list_depends%/*}"
- bash "${list_depends##*/}"
- ))
-fi
source=("https://projects.parabolagnulinux.org/packages/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2")
-package() {
+build() {
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 parabolaweb-update "${pkgdir}/usr/sbin/parabolaweb-update"
- install -Dm755 parabolaweb-fcgi "${pkgdir}/usr/sbin/parabolaweb-fcgi"
- install -Dm755 parabolaweb.rc "${pkgdir}/etc/rc.d/parabolaweb"
- install -Dm644 parabolaweb.service "${pkgdir}/usr/lib/systemd/system/parabolaweb.service"
- install -Dm644 parabolaweb.conf "${pkgdir}/etc/conf.d/parabolaweb"
+ 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=('1c09dd63340cda8bb9ac12273a3b9008')
+md5sums=('059c0a83a3c58ccffe99edd57d984337')