summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Röthke2017-02-02 16:12:40 +0100
committerMarcel Röthke2017-02-02 16:12:40 +0100
commit5736177afaea8596bd2311a9d8f05ed8a460207c (patch)
tree875d3576996c1d8e04e0df0ccf496900c39fbb19
downloadaur-5736177afaea8596bd2311a9d8f05ed8a460207c.tar.gz
Initial upload: rtrlib 0.3.6-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ade8481f6dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Feb 2 15:12:40 UTC 2017
+pkgbase = rtrlib
+ pkgdesc = RPKI-RTR client library
+ pkgver = 0.3.6
+ pkgrel = 1
+ url = https://github.com/rtrlib/rtrlib
+ arch = x86_64
+ license = MIT
+ makedepends = cmake
+ options = strip
+ source = rtrlib-0.3.6.tar.gz::https://github.com/rtrlib/rtrlib/archive/v0.3.6.tar.gz
+ md5sums = 07912a1612b1e949f16e0f1c6474392c
+
+pkgname = rtrlib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3791099cd53
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Marcel Röthke <marcel@roethke.info>
+pkgname=rtrlib
+pkgver=0.3.6
+pkgrel=1
+pkgdesc="RPKI-RTR client library"
+arch=(x86_64)
+url=""https://github.com/rtrlib/rtrlib
+license=('MIT')
+depends=()
+makedepends=(cmake)
+options=(strip)
+source=("rtrlib-$pkgver.tar.gz::https://github.com/rtrlib/rtrlib/archive/v$pkgver.tar.gz")
+#https://github.com/rtrlib/rtrlib/archive/v0.3.6.tar.gz
+md5sums=(07912a1612b1e949f16e0f1c6474392c)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ echo $pkgname-$pkgver
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR:STRING=lib \
+ .
+ make rtrlib
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}