summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYour Name2020-09-28 23:27:22 +0900
committerYour Name2020-09-28 23:27:22 +0900
commit6129b2b31496101630d61f47c8c55c637c019ae0 (patch)
tree2bcfca9bf930c92d335cc3f4870a5682daf3410e /PKGBUILD
parente18d45f605987b7c84e7ef24f13d33a41c83b56a (diff)
downloadaur-stuntman.tar.gz
Update to 1.2.16 and openssl 1.1
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a78e8d312ad..111a1ba9f47 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,29 @@
# maintainer: so wieso <sowieso@dukun.de>
pkgname=stuntman
-pkgver=1.2.13
+pkgver=1.2.16
pkgrel=1
pkgdesc="STUN server and client"
url="http://www.stunprotocol.org/"
license=("Apache")
arch=("i686" "x86_64")
-depends=("openssl-1.0")
+depends=("openssl")
optdepends=()
makedepends=("boost")
conflicts=("stuntman-git")
-source=("https://github.com/jselbie/stunserver/archive/version1.2.13.zip"
+source=("https://github.com/jselbie/stunserver/archive/master.zip"
"stuntman.service"
)
-sha256sums=("bb7cd1f3a70344907dae1e945e0fd02801d259d51494ba14de2506641d69f55f"
+sha256sums=("c7abb8a1d100adaea3f382fce2c3ed839942707612c3819d75abbfecc28d9416"
"941a3c547e907c4bb07628f343c34477ce61ae5bfe3fce44345b0a5343872b15"
)
build() {
- cd "${srcdir}/stunserver-version${pkgver}"
- sed -i 's|^#OPENSSL_INC.*|OPENSSL_INCLUDE := -I/usr/include/openssl-1.0|' common.inc
- sed -i -E 's|^CRYPTO_LIBS(.*)|CRYPTO_LIBS\1 -L/usr/lib/openssl-1.0|' common.inc
+ cd "${srcdir}/stunserver-master"
make
}
package() {
- cd "${srcdir}/stunserver-version${pkgver}"
+ cd "${srcdir}/stunserver-master"
install -D -m0755 -t "$pkgdir/usr/bin/" stun{client,server}
install -D -m0644 -t "$pkgdir/usr/share/doc/${pkgname}" HISTORY README
install -D -m0644 <(./stunclient --help | gzip) "$pkgdir/usr/share/man/man1/stunclient.1.gz"