summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: c1beccdf9e2ab852608f94abe69a870ed5b3b7d8 (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
47
48
49
50
51
52
53
54
55
# 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=4
pkgdesc="Utils for the Parabola website"
arch=('any')
url="https://projects.parabolagnulinux.org/parabolaweb.git/"
license=('GPL2')
depends=(
    'python2'      # duh
    'python2-flup' # for fcgi
    'postgresql'   # for database
    'git'          # used in parabolaweb-update
    'libretools'   # used in parabolaweb-update
    `_get_depends`)
backup=('etc/conf.d/parabolaweb')

export pkgver

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

build() {
	:
}

package() {
	cd "${srcdir}"
	install -Dm755 parabolaweb-download  "${pkgdir}/usr/sbin/parabolaweb-download"
	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'
         '01bed679a4fd768e720bfd0f3c7d6694'
         'a73063b14746720b77fdbab851f5c161'
         'd5294495f42df29d29519ebd0a8f6093'
         'cc15e153f99fba82e7bb032896f655c2'
         'a468016a7155b5da46521dcfc6428384'
         '9b565ef07e44d395bf7a0e484e3d19d1')