summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXavion2018-08-19 07:14:54 +1000
committerXavion2018-08-19 07:14:54 +1000
commitcea0c654570c39d87559d2488fd3be5b6d77a21b (patch)
tree07d6737e5440fe67925ab6a82ff6d5ca37211bdf /PKGBUILD
parent4cc2800903640e1e036cdda874c56d726ec8ec4a (diff)
downloadaur-cea0c654570c39d87559d2488fd3be5b6d77a21b.tar.gz
Update to 2.1.0.198-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 9 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 732e1cfa6a2..5cbe7be4869 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,33 +4,21 @@
# Contributor: metzen <metzen@gmail.com>
pkgname=logmein-hamachi
-pkgver=2.1.0.174
-pkgrel=3
+pkgver=2.1.0.198
+pkgrel=1
pkgdesc="A zero-configuration VPN service"
url="https://www.vpn.net/linux"
-arch=("i686" "x86_64" "arm" "armv6h" "armv7h")
+arch=("i686" "x86_64" "arm" "armv7h")
license=("custom")
conflicts=("hamachi")
replaces=("hamachi")
options=("!strip")
-[ "${CARCH}" == "i686" ] && _filearch_=x86 && sha1sums=('20cc7a0a4c5fb61a5f6769e4d8fff5dab9293e3e')
-[ "${CARCH}" == "x86_64" ] && _filearch_=x64 && sha1sums=('dafb47d24d44dd7bd3a80a81b62a297f497f52a5')
-[ "${CARCH}" == "arm" ] && _filearch_=armel && sha1sums=('328ea87a2f371163a90b9d7518417e5acbcb2da5')
-[ "${CARCH}" == "armv6h" ] && _filearch_=armel && sha1sums=('328ea87a2f371163a90b9d7518417e5acbcb2da5')
-[ "${CARCH}" == "armv7h" ] && _filearch_=armhf && sha1sums=('dbd32d89063e2ab72b7e51f5706d0d25586d767b')
-sha1sums+=('c0d5b67ba0a938cef9742568fd09bb2a4b85b513')
-source=("https://www.vpn.net/installers/${pkgname}-${pkgver}-${_filearch_}.tgz" "systemd")
+[ "${CARCH}" == "i686" ] && _filearch_=x86 && sha1sums=('4070960416602dc805400c080e53bee3794d5a13' '2b8052f91bb47beac1fdab0c0c455a36f8876671')
+[ "${CARCH}" == "x86_64" ] && _filearch_=x64 && sha1sums=('235806bf8eecf79da054ffe253150772c677c73c' '2b8052f91bb47beac1fdab0c0c455a36f8876671')
+[ "${CARCH}" == "arm" ] && _filearch_=armel && sha1sums=('24efae6a1255763b2fe9f6fa08ab8e9594c6bf8b' '2b8052f91bb47beac1fdab0c0c455a36f8876671')
+[ "${CARCH}" == "armv7h" ] && _filearch_=armhf && sha1sums=('2c9055351e77f45a20be9ebf989ead23567e21b0' '2b8052f91bb47beac1fdab0c0c455a36f8876671')
-if [ "${CARCH}" == "i686" ] || [ "${CARCH}" == "x86_64" ]; then
- source+=("https://archive.archlinux.org/packages/g/glibc/glibc-2.25-7-${CARCH}.pkg.tar.xz")
-elif [ "${CARCH}" == "arm" ] || [ "${CARCH}" == "armv6h" ] || [ "${CARCH}" == "armv7h" ]; then
- source+=("http://tardis.tiny-vps.com/aarm/packages/g/glibc/glibc-2.25-7-${CARCH}.pkg.tar.xz")
-fi
-[ "${CARCH}" == "i686" ] && sha1sums+=('d0d02e35f19b022e3411e00b8f724592be340f08')
-[ "${CARCH}" == "x86_64" ] && sha1sums+=('5d0ac1bf449524db37e94320c0d04d3dbc2d0408')
-[ "${CARCH}" == "arm" ] && sha1sums+=('d5ed7a9b55d2c6ecc6e26e242b4aa53f6bc9c67c')
-[ "${CARCH}" == "armv6h" ] && sha1sums+=('1bd5602cebd4393f804128319cceb98244906b05')
-[ "${CARCH}" == "armv7h" ] && sha1sums+=('8e4ab02a6809e7e05440ba1c4d9100de7700c152')
+source=("https://www.vpn.net/installers/${pkgname}-${pkgver}-${_filearch_}.tgz" "${pkgname}.service")
package() {
cd "${srcdir}"/${pkgname}-${pkgver}-${_filearch_}
@@ -49,12 +37,7 @@ package() {
install -m 444 LICENSE "${pkgdir}"/opt/${pkgname}
install -m 444 CHANGES "${pkgdir}"/opt/${pkgname}
ln -sf "/opt/${pkgname}/bin/hamachid" "${pkgdir}"/usr/bin/hamachi
- install -m 644 "${srcdir}"/systemd "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
-
- install -d "${pkgdir}"/opt/${pkgname}/glibc225lib
- rm -f "${srcdir}"/usr/lib/ld-linux.so.3
- install -m755 "${srcdir}/usr/lib/ld-2.25.so" "${pkgdir}"/opt/${pkgname}/glibc225lib
- install -m755 "${srcdir}"/usr/lib/*.so.* "${pkgdir}"/opt/${pkgname}/glibc225lib
+ install -m 644 "${srcdir}"/${pkgname}.service "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
# License
ln -sf "/opt/${pkgname}/LICENSE" "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE