summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5a9f777b40f5309b4e577d88cf01187a2db1f27 (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
# Maintainer: Gabriele Fulgaro <gabriele.fulgaro@gmail.com>
# Contributor: Antonio Cardace <antonio@cardace.it>

_pkgname="s2argv-execs"

pkgname="$_pkgname-git"
pkgver=r34.c51c856
pkgrel=1
pkgdesc="s2argv converts a command string into an argv array for execv*, execs is like execv taking a string instead of an argv"
arch=('any')
url="https://github.com/rd235/$_pkgname"
license=('GPL2')
groups=('view-os')
provides=("$_pkgname")
replaces=("$_pkgname")
source=("git+https://github.com/rd235/$_pkgname.git")
md5sums=('SKIP')

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

build() {
	cd "$_pkgname"
	autoreconf -if
	./configure --prefix="/usr"
	make
}

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