summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b0d6d179e0d11679d488e5cd6082c126e63de05 (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=dtfp
pkgname="${_pkgname}-git"
pkgver=0.0.1
pkgrel=1
pkgdesc="Tool for partners"
arch=("i686" "x86_64")
url="ssh://git@git.mysoftfactory.com/Donos/dtfp"
depends=("apache" "mod_wsgi" "python" "python-pip" "python-virtualenv")
provides=("dtfp")
source=("${_pkgname}::git+${url}.git")
md5sums=("SKIP")
install=dtfp-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/dtfp/"
	cp -r "${_pkgname}"/* "${pkgdir}/usr/share/webapps/dtfp/"
}