summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a055c79c823247a8418bf8bb4f0e17bc1c276334 (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
37
38
39
# Maintainer: emersion <contact@emersion.fr>

pkgname=ccdille-git
_pkgname=${pkgname%-git}
pkgver=v0.1.0.r1.db620b9
pkgrel=1
pkgdesc="A French precompiler"
arch=('any')
url="https://git.saucisseroyale.fr.cr/DiestVanMaitre_culain/ccdille"
license=('Unlicense')
groups=()
depends=()
makedepends=('git' 'make' 'gcc')
optdepends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
replaces=()
backup=()
options=()
install=
source=('git+https://git.saucisseroyale.fr.cr/DiestVanMaitre_culain/ccdille.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$_pkgname"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/$_pkgname"
	make bootstrap
	make
}

package() {
	cd "$srcdir/$_pkgname"
	make DESTDIR="$pkgdir/" install
}