blob: 32e22992b2678953bb17b02e7f785e6478b11cec (
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=mycash
pkgname="${_pkgname}-git"
pkgver=0.0.1
pkgrel=1
pkgdesc="Unarelith's cash management service"
arch=("i686" "x86_64")
url="https://git.unarelith.net/Unarelith/mycash"
depends=("apache" "mod_wsgi" "python" "python-pip" "python-virtualenv")
provides=("mycash")
source=("${_pkgname}::git+${url}.git")
md5sums=("SKIP")
install=mycash-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/mycash/"
cp -r "${_pkgname}"/* "${pkgdir}/usr/share/webapps/mycash/"
}
|