diff options
author | GFdevelop | 2019-02-28 22:25:49 +0100 |
---|---|---|
committer | GFdevelop | 2019-02-28 22:25:49 +0100 |
commit | bde540014a54ad16552892224135fc8978f773c6 (patch) | |
tree | 0b7fe57815f59c090ce53c6bcdfbca62cff593f3 /PKGBUILD | |
download | aur-bde540014a54ad16552892224135fc8978f773c6.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3ab9d963e07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Gabriele Fulgaro <gabriele.fulgaro@gmail.com> + +_pkgname="userbindmount" + +pkgname="$_pkgname-git" +pkgver=r6.149048f +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') +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" + cmake -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$_pkgname" + make DESTDIR="$pkgdir/" install +} |