summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
downloadaur-5736177afaea8596bd2311a9d8f05ed8a460207c.tar.gz
Initial upload: rtrlib 0.3.6-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
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
+}