summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ba89d0d1255bddbd02f16678a44b4ff2e9da82f (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
# Maintainer: Quentin Bazin <quent42340 at gmail dot com>

_pkgname=unarelith
pkgname="${_pkgname}-git"
pkgver=r27.d547af0
pkgrel=1
pkgdesc="Unarelith's website"
arch=("i686" "x86_64")
url="https://git.unarelith.net/Unarelith/unarelith.net"
depends=("python" "python-virtualenv")
provides=("unarelith")
source=("${_pkgname}::git+${url}.git")
md5sums=("SKIP")

pkgver() {
	cd "${_pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

# build() {
# 	cd "${_pkgname}"
# 	ls -la
# }

package() {
	cd "${pkgdir}"
	mkdir -p usr/share/webapps/unarelith
	cd usr/share/webapps/unarelith
	cp -r "${_pkgname}"/* .
	ls -la
}