blob: 01715eea95ade12e3ec74108b861c98c9f1194b9 (
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
|
# Maintainer: Quentin Bazin <quent42340 at gmail dot com>
_pkgname=unarelith
pkgname="${_pkgname}-git"
pkgver=0.0.1
pkgrel=1
pkgdesc="Unarelith's website"
arch=("i686" "x86_64")
url="https://git.unarelith.net/Unarelith/unarelith.net"
depends=("apache" "mod_wsgi" "python" "python-pip" "python-virtualenv")
provides=("unarelith")
source=("${_pkgname}::git+${url}.git")
md5sums=("SKIP")
install=unarelith-git.install
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
# Copy files to package
mkdir -p "${pkgdir}/usr/share/webapps/unarelith/"
cp -r "${_pkgname}"/* "${pkgdir}/usr/share/webapps/unarelith/"
}
|