[arch-commits] Commit in meek/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 15 19:00:17 UTC 2019


    Date: Thursday, August 15, 2019 @ 19:00:17
  Author: felixonmars
Revision: 499632

archrelease: copy trunk to community-x86_64

Added:
  meek/repos/community-x86_64/PKGBUILD
    (from rev 499631, meek/trunk/PKGBUILD)
Deleted:
  meek/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 19:00:07 UTC (rev 499631)
+++ PKGBUILD	2019-08-15 19:00:17 UTC (rev 499632)
@@ -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=2
-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' '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 499631, meek/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-15 19:00:17 UTC (rev 499632)
@@ -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=3
+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' '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