summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten de Vries2016-03-10 21:52:01 +0100
committerMaarten de Vries2016-03-10 21:52:01 +0100
commitb1c292c2d8eb5a45189c450b9e61f90ed80db898 (patch)
tree296405377122d687e4537094293636a81e25a816
downloadaur-b1c292c2d8eb5a45189c450b9e61f90ed80db898.tar.gz
Initial commit.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7632041adaa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Mar 10 20:50:16 UTC 2016
+pkgbase = cloudabi-utils
+ pkgdesc = a number of libraries and utilities that can be used to easily start CloudABI programs
+ pkgver = 0.8
+ pkgrel = 1
+ url = https://github.com/NuxiNL/cloudabi-utils
+ arch = x86_64
+ arch = aarch64
+ license = GPL
+ makedepends = cmake
+ depends = glibc
+ depends = libyaml
+ source = https://github.com/NuxiNL/cloudabi-utils/archive/v0.8.tar.gz
+ sha512sums = 5409323c51b52440c665e355f7cde76024f4140fea8e5482a5c46927120ab97ed7b770cb2ebc587397f07b30f424072ed6548ca94aaaa28929473368315fc28c
+
+pkgname = cloudabi-utils
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..deac0decd9f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Maarten de Vries <maarten@de-vri.es>
+# Contributor: Maurice Bos <m-ou.se@m-ou.se>
+# Contributor: Maarten de Vries <maarten@de-vri.es>
+
+pkgname=cloudabi-utils
+pkgver=0.8
+pkgrel=1
+pkgdesc="a number of libraries and utilities that can be used to easily start CloudABI programs"
+arch=('x86_64' 'aarch64')
+url='https://github.com/NuxiNL/cloudabi-utils'
+license=('GPL')
+depends=('glibc' 'libyaml')
+makedepends=('cmake')
+source=("https://github.com/NuxiNL/cloudabi-utils/archive/v$pkgver.tar.gz")
+sha512sums=(
+ '5409323c51b52440c665e355f7cde76024f4140fea8e5482a5c46927120ab97ed7b770cb2ebc587397f07b30f424072ed6548ca94aaaa28929473368315fc28c'
+)
+
+prepare() {
+ mkdir -p "$srcdir/build"
+ cd "$srcdir/build"
+ cmake "$srcdir/cloudabi-utils-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR="lib/$pkgname"
+}
+
+build() {
+ cd "$srcdir/build"
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make install DESTDIR="$pkgdir"
+}