Skip to content

Commit

Permalink
archlinux pkgbuild, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
utoni committed Dec 24, 2017
1 parent 97d1c0c commit 8f16714
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -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])

Expand Down

0 comments on commit 8f16714

Please sign in to comment.