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

Felix Yan felixonmars at gemini.archlinux.org
Sat Apr 23 21:20:29 UTC 2022


    Date: Saturday, April 23, 2022 @ 21:20:28
  Author: felixonmars
Revision: 1188625

archrelease: copy trunk to community-x86_64

Added:
  wgcf/repos/community-x86_64/PKGBUILD
    (from rev 1188624, wgcf/trunk/PKGBUILD)
Deleted:
  wgcf/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 21:20:12 UTC (rev 1188624)
+++ PKGBUILD	2022-04-23 21:20:28 UTC (rev 1188625)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: w0rty <mawo97 at gmail.com>
-
-pkgname=wgcf
-pkgver=2.2.12
-pkgrel=1
-pkgdesc='Generate WireGuard profile from Cloudflare Warp account'
-arch=('x86_64')
-url="https://github.com/ViRb3/wgcf"
-license=('MIT')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('6945b032b9376f10167c6602f0ae3767f301b9b200c1aa6d543a874d91afbbc0')
-
-prepare(){
-  cd "$pkgname-$pkgver"
-  mkdir -p build/
-}
-
-build() {
-  export GOPATH="$srcdir"/gopath
-  cd "$pkgname-$pkgver"
-  # Buildflags according to https://wiki.archlinux.org/index.php/Go_package_guidelines#Flags_and_build_options
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  go build -o build -trimpath -buildmode=pie -ldflags "-linkmode=external -extldflags \"${LDFLAGS}\" -s -w" -modcacherw
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
-  install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: wgcf/repos/community-x86_64/PKGBUILD (from rev 1188624, wgcf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 21:20:28 UTC (rev 1188625)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: w0rty <mawo97 at gmail.com>
+
+pkgname=wgcf
+pkgver=2.2.13
+pkgrel=1
+pkgdesc='Generate WireGuard profile from Cloudflare Warp account'
+arch=('x86_64')
+url="https://github.com/ViRb3/wgcf"
+license=('MIT')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('bb26d29dfbb673dd46a5027b5f07e0329e108507c3394a69e45ccf57ce45c9fb')
+
+prepare(){
+  cd "$pkgname-$pkgver"
+  mkdir -p build/
+}
+
+build() {
+  export GOPATH="$srcdir"/gopath
+  cd "$pkgname-$pkgver"
+  # Buildflags according to https://wiki.archlinux.org/index.php/Go_package_guidelines#Flags_and_build_options
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  go build -o build -trimpath -buildmode=pie -ldflags "-linkmode=external -extldflags \"${LDFLAGS}\" -s -w" -modcacherw
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list