aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2017-12-24 17:23:27 +0100
committerlns <matzeton@googlemail.com>2017-12-24 17:23:27 +0100
commit8f16714de81975525cf645f0ed372ce1543de408 (patch)
treecc9903d4bd3fc1392df2fd24b7249c1e8b92986e
parent97d1c0c62b2ce32157386ad08cd8981d0f3e4b91 (diff)
archlinux pkgbuild, version bump
-rw-r--r--PKGBUILD28
-rw-r--r--configure.ac2
2 files changed, 29 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..2e4186a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname="ptunnel-ng"
+pkgver=1.1
+pkgrel=1
+pkgdesc="PingTunnel-NG binary for icmp/udp tunneling"
+arch=('i686' 'x86_64')
+url='https://www.github.com/lnslbrty/ptunnel-ng'
+license=('BSD-3')
+makedepends=('git')
+provides=("ptunnel-ng=${pkgver}")
+source=("https://github.com/lnslbrty/ptunnel-ng/archive/v${pkgver}.tar.gz")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --disable-pcap \
+ --disable-selinux
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ find "${pkgdir}" -type d -name .git -exec rm -r '{}' +
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ptunnel-ng/LICENSE"
+}
diff --git a/configure.ac b/configure.ac
index 0b449b1..a2bff17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.69)
-AC_INIT([ptunnel-ng], [1.0], [], [], [])
+AC_INIT([ptunnel-ng], [1.1], [], [], [])
AC_CONFIG_SRCDIR([src/config.h.in])
AC_CONFIG_FILES([Makefile src/Makefile])