diff options
author | GFdevelop | 2021-07-19 11:16:08 +0200 |
---|---|---|
committer | GFdevelop | 2021-07-19 11:16:08 +0200 |
commit | 84c8825f6dedbbc96c28ac53839c2c88928625c7 (patch) | |
tree | 6c9f1dcefe57560d60ad0570b5b5f6952c3b85bb /PKGBUILD | |
parent | 411a182fab457c4668bbe896e985e0855eecc52b (diff) | |
download | aur-s2argv-execs-git.tar.gz |
update url and build with cmake
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -4,14 +4,15 @@ _pkgname="s2argv-execs" pkgname="$_pkgname-git" -pkgver=r37.aa3c3d6 -pkgrel=2 +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/rd235/$_pkgname" +url="https://github.com/virtualsquare/$_pkgname" license=('LGPL') +groups=('virtualsquare') depends=('glibc') -makedepends=('git') +makedepends=('git' 'cmake') provides=("$_pkgname") conflicts=("$_pkgname") source=("git+$url.git") @@ -24,12 +25,13 @@ pkgver() { build() { cd "$_pkgname" - autoreconf -if - ./configure --prefix="/usr" + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd "$_pkgname" + cd "$_pkgname"/build make DESTDIR="$pkgdir/" install } |