summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/PKGBUILD
blob: 5a6354fe5cc48710b330d5d3905c1b63923a1c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

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')

pkgrel=1
epoch=1
arch=('any')

source=("https://projects.parabolagnulinux.org/packages/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2")

build() {
	cd "$srcdir/$pkgname-$pkgver"
	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=('059c0a83a3c58ccffe99edd57d984337')