summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c58bd6021318a1a8c0652ea4a2687cae93a92c1c (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
# fases Arch Linux and Debian GNU/Linux packages
# Maintainer: Ferass EL HAFIDI <vitali64pmemail@protonmail.com>
pkgname=fasesbox-git # '-bzr', '-git', '-hg' or '-svn'
pkgver=247.25f1754
pkgrel=1
pkgdesc="Simple utilities for a fully functionnal UNIX-like system."
arch=('any')
url="https://git.vitali64.duckdns.org/utils/fases.git"
license=('GPL3', 'custom:3BSD', 'custom:FreeBSDDocumentationLicense')
groups=()
depends=()
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
replaces=()
backup=()
options=()
install=
source=("$srcdir/${pkgname%box-git}"::'git+https://git.vitali64.duckdns.org/git/utils/fases.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%box-git}"
	printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/${pkgname%box-git}"
	make prepbox genbox box
}

package() {
	cd "$srcdir/${pkgname%box-git}"
	make DESTDIR="$pkgdir/" install-box
}