blob: 09cf7182c426d8c43abb9d61bb618d8d892b0a9d (
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
|
# Maintainer: Gabriele Fulgaro <gabriele.fulgaro@gmail.com>
# Contributor: Antonio Cardace <antonio@cardace.it>
_pkgname="s2argv-execs"
pkgname="$_pkgname-git"
pkgver=r38.2f3f79c
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/virtualsquare/$_pkgname"
license=('LGPL')
groups=('virtualsquare')
depends=('glibc')
makedepends=('git' 'cmake')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$_pkgname"/build
make DESTDIR="$pkgdir/" install
}
|