[arch-commits] Commit in meek/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Mar 2 18:52:59 UTC 2020
Date: Monday, March 2, 2020 @ 18:52:58
Author: jelle
Revision: 588681
archrelease: copy trunk to community-x86_64
Added:
meek/repos/community-x86_64/PKGBUILD
(from rev 588680, meek/trunk/PKGBUILD)
Deleted:
meek/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-02 18:52:52 UTC (rev 588680)
+++ PKGBUILD 2020-03-02 18:52:58 UTC (rev 588681)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: shyokou <shyokou at gmail dot com>
-# Contributor: N. Izumi aka izmntuk
-
-pkgname=meek
-pkgver=0.30
-pkgrel=4
-arch=('x86_64')
-pkgdesc='A pluggable transport proxy written in Go'
-optdepends=('tor')
-url='https://trac.torproject.org/projects/tor/wiki/doc/meek'
-license=('custom:CC0')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("git+https://git.torproject.org/pluggable-transports/meek.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cd "$srcdir"/meek
- sed 's|./meek-client|/usr/bin/meek-client|g;
- s|./meek-server|/usr/bin/meek-server|g;
- s|\(meek-server\.log\)|/tmp/\1|;
- s|\(meek-client\.log\)|/tmp/\1|' -i meek-{server,client}/torrc
-}
-
-build() {
- export GOPATH="$srcdir"
- export GOBIN="$PWD"
-
- cd "$srcdir"/meek/meek-server
- go get
- make all
-
- cd "$srcdir"/meek/meek-client
- make all
-}
-
-package() {
- install -d "$pkgdir"/usr/{bin,share/{{doc,licenses}/$pkgname,man/man1}}
- cd "$srcdir"/meek/meek-server
- install -m755 meek-server "$pkgdir"/usr/bin
- install -Dm644 torrc "$pkgdir"/usr/share/doc/$pkgname/torrc.meek-server
- install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README.meek-server
-
- cd "$srcdir"/meek/meek-client
- install -m755 meek-client "$pkgdir"/usr/bin
- install -Dm644 torrc "$pkgdir"/usr/share/doc/$pkgname/torrc.meek-client
- install -m644 ../README "$pkgdir"/usr/share/doc/$pkgname
- install -m644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 ../doc/meek-{server,client}.1 "$pkgdir"/usr/share/man/man1
-}
Copied: meek/repos/community-x86_64/PKGBUILD (from rev 588680, meek/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-02 18:52:58 UTC (rev 588681)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: shyokou <shyokou at gmail dot com>
+# Contributor: N. Izumi aka izmntuk
+
+pkgname=meek
+pkgver=0.30
+pkgrel=5
+arch=('x86_64')
+pkgdesc='A pluggable transport proxy written in Go'
+optdepends=('tor')
+url='https://trac.torproject.org/projects/tor/wiki/doc/meek'
+license=('custom:CC0')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("git+https://git.torproject.org/pluggable-transports/meek.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cd "$srcdir"/meek
+ sed 's|./meek-client|/usr/bin/meek-client|g;
+ s|./meek-server|/usr/bin/meek-server|g;
+ s|\(meek-server\.log\)|/tmp/\1|;
+ s|\(meek-client\.log\)|/tmp/\1|' -i meek-{server,client}/torrc
+}
+
+build() {
+ export GOPATH="$srcdir"
+ export GOBIN="$PWD"
+
+ cd "$srcdir"/meek/meek-server
+ go get
+ make all
+
+ cd "$srcdir"/meek/meek-client
+ make all
+}
+
+package() {
+ install -d "$pkgdir"/usr/{bin,share/{{doc,licenses}/$pkgname,man/man1}}
+ cd "$srcdir"/meek/meek-server
+ install -m755 meek-server "$pkgdir"/usr/bin
+ install -Dm644 torrc "$pkgdir"/usr/share/doc/$pkgname/torrc.meek-server
+ install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README.meek-server
+
+ cd "$srcdir"/meek/meek-client
+ install -m755 meek-client "$pkgdir"/usr/bin
+ install -Dm644 torrc "$pkgdir"/usr/share/doc/$pkgname/torrc.meek-client
+ install -m644 ../README "$pkgdir"/usr/share/doc/$pkgname
+ install -m644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 ../doc/meek-{server,client}.1 "$pkgdir"/usr/share/man/man1
+}
More information about the arch-commits
mailing list