diff options
author | GFdevelop | 2020-02-16 16:50:22 +0100 |
---|---|---|
committer | GFdevelop | 2020-02-16 16:50:22 +0100 |
commit | da339cf0a2dd98212b203bf67ce05e797ab16f4d (patch) | |
tree | 62651f5b3e61d10604de321b4a8659a17039d709 | |
parent | 3d9d580408ff8dd4ed72323288155ad613e60eaa (diff) | |
download | aur-da339cf0a2dd98212b203bf67ce05e797ab16f4d.tar.gz |
Fixed cmake build and depends/makedepends, updated licenses
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 15 insertions, 10 deletions
@@ -1,11 +1,14 @@ pkgbase = userbindmount-git pkgdesc = A library and a utility command providing support for bind mount in user namespaces. - pkgver = r6.149048f - pkgrel = 2 + pkgver = r17.fea54ed + pkgrel = 1 url = https://github.com/rd235/userbindmount arch = any - groups = view-os license = GPL2 + license = LGPL + makedepends = git + makedepends = cmake + depends = libcap provides = userbindmount conflicts = userbindmount source = git+https://github.com/rd235/userbindmount.git @@ -3,13 +3,14 @@ _pkgname="userbindmount" pkgname="$_pkgname-git" -pkgver=r6.149048f -pkgrel=2 +pkgver=r17.fea54ed +pkgrel=1 pkgdesc="A library and a utility command providing support for bind mount in user namespaces." arch=('any') url="https://github.com/rd235/$_pkgname" -license=('GPL2') -groups=('view-os') +license=('GPL2' 'LGPL') +depends=('libcap') +makedepends=('git' 'cmake') provides=("$_pkgname") conflicts=("$_pkgname") source=("git+$url.git") @@ -21,12 +22,13 @@ pkgver() { } build() { - cd "$_pkgname" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_MANDIR=/usr/share/man + mkdir -p "$_pkgname/build" + cd "$_pkgname/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_MANDIR=/usr/share/man .. make } package() { - cd "$_pkgname" + cd "$_pkgname/build" make DESTDIR="$pkgdir/" install } |