summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/PKGBUILD
blob: cfb39d703bfbd7fb1869aa8b7c95a9ebefd92225 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

. helper.sh
# provides:
#  _get_pkgver
#  _get_depends
#  _get_depends_nover (no version requirements)

pkgname=parabolaweb-utils
pkgver=`_get_pkgver`
pkgrel=2
pkgdesc="Utils for the Parabola website"
arch=('any')
url="https://projects.parabolagnulinux.org/parabolaweb.git/"
license=('GPL2')
depends=('python2' 'python2-flup' 'git' 'libretools' `_get_depends`)
backup=('etc/conf.d/parabolaweb')

export pkgver

source=(git://parabolagnulinux.org/parabolaweb.git
	parabolaweb-update
	parabolaweb-fcgi
	parabolaweb.rc
	parabolaweb.service
	parabolaweb.conf)

build() {
	:
}

package() {
	cd "${srcdir}"
	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"
}

md5sums=('SKIP'
         'dd05d6a4ea7cff7fdd789f59aeb9059a'
         '520e20b8bbca64042b3afa76b0bec55f'
         '1bce8fb832ad9e61cf8b96426ce843b5'
         'c7e292d2d1c3e846e5cfcd7283de0fe4'
         'fb291168d3f57a85f82216c4e74c9ccf')