summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b3816fceff66eae8e9cf8a81b077f14f1609d72 (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
40
41
42
# Maintainer: Josh Cheatum <cheatumj@protonmail.com>
pkgname=cproj-git
pkgver=r20.7b2514b
pkgrel=1
pkgdesc="A simple cli tool for creating and managing C projects"
arch=(any)
url="https://gitlab.com/jcheatum/cproj"
license=('MPL')
groups=()
depends=('python' 'git')
makedepends=('python-pip') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+https://gitlab.com/jcheatum/cproj.git")
noextract=("${source[@]%%::*/}")
md5sums=('SKIP')

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

prepare() {
	:
}

build() {
	:
}

check() {
	:
}

package() {
	cd "$srcdir/${pkgname}"
	pip install --root "$pkgdir/" .
}