summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVimsucks2017-12-15 11:44:54 +0800
committerVimsucks2017-12-15 11:44:54 +0800
commit9ded024cdf49f8776f1582b6579678dae8520819 (patch)
treedbbf7dd30da8960f12b73722a9a906245baeaea9 /PKGBUILD
parent9672103183f05475265b213695e2cfabed6f885f (diff)
downloadaur-9ded024cdf49f8776f1582b6579678dae8520819.tar.gz
new release 0.14.1 and delete unused service file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 8 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 64eed829961..601c74024a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,20 @@
# Maintainer: Vimsucks <dev@vimsucks.com>
pkgname=frp
-pkgver=0.14.0
-pkgrel=2
+pkgver=0.14.1
+pkgrel=1
pkgdesc="A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet."
license=('Apache')
url="https://github.com/fatedier/frp"
-source=(frps.service frpc.service frps@.service frpc@.service)
-source_i686=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_386.tar.gz")
-source_x86_64=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_amd64.tar.gz")
-sha256sums=('a83bf9e3bec4cc134391c49fccb32f517a2e90307c7217236513c7408f9b1b8f'
- '422d9e7c79257bfdcf19133e9f37d74bf0478d81f039bce18f63935505a18963'
- '34432236e6ef21108700c017604ebb0f6c20f463c02054060912ea061ca31d8d'
- 'd7267378516cc782e08794bc3ec73fc719620b0c2c451224b366e4985335bccd')
-sha256sums_i686=('8bf5236409081d862b6a0da265e8655bd02635411f6fc918ad29022e5d7926b4')
-sha256sums_x86_64=('58613aa1474610ec53812bf7efa5f69dfcd3dc8d973bd666c5c828240805436a')
-arch=('i686' 'x86_64')
-
+source=(frps.service frpc.service "https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_amd64.tar.gz")
+arch=('x86_64')
+md5sums=('6f9c6681357f3f984983457151d7f0c5'
+ 'd704eacd9f769de32c8ab2c875d9f34a'
+ 'e2b44adbe40d24ef44514013d7463410')
install=$pkgname.install
package() {
- case $CARCH in
- x86_64)ARCH=amd64
- ;;
- i686)ARCH=386
- ;;
- esac
-
- frpdir=$srcdir/frp_${pkgver}_linux_${ARCH}
+ frpdir=$srcdir/frp_${pkgver}_linux_amd64
mkdir -p $pkgdir/usr/bin
install -m755 $frpdir/frpc $pkgdir/usr/bin/frpc
install -m755 $frpdir/frps $pkgdir/usr/bin/frps
@@ -42,6 +29,4 @@ package() {
install -Dm644 frps.service $pkgdir/usr/lib/systemd/system/frps.service
install -Dm644 frpc.service $pkgdir/usr/lib/systemd/system/frpc.service
- install -Dm644 frps@.service $pkgdir/usr/lib/systemd/system/frps@.service
- install -Dm644 frpc@.service $pkgdir/usr/lib/systemd/system/frpc@.service
}