blob: 8a85a612296bbc3f742483d5031971915ce5c294 (
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
|
# Contributor: Tom Vincent <http://tlvince.com/contact>
# Contributor: Jente Hidskes <hjdskes@gmail.com>
# Maintainer: Patrick Wozniak <hello@patwoz.de>
pkgname=kwakd-git
_gitname=kwakd
pkgver=r12.acdf0e1
pkgrel=1
pkgdesc="A web server serving blank html pages"
url="https://github.com/fetchinson/$_gitname"
arch=('any' )
license=("GPL")
depends=('bash')
makedepends=('git')
conflicts=('kwakd')
source=(
"git://github.com/fetchinson/${_gitname}.git"
"${_gitname}.service"
)
install="${_gitname}.install"
sha256sums=(
'SKIP'
'5ae20e1ef81436ba5452447c32c46db4d343f08f5abe0aa41076425a9cee4715'
)
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "$_gitname"
make DESTDIR=$pkgdir install
install -Dm644 "$srcdir/$_gitname.service" "$pkgdir/usr/lib/systemd/system/$_gitname.service"
}
|