[arch-commits] Commit in wails/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon May 2 16:29:42 UTC 2022
Date: Monday, May 2, 2022 @ 16:29:42
Author: dvzrv
Revision: 1192261
archrelease: copy trunk to community-x86_64
Added:
wails/repos/community-x86_64/PKGBUILD
(from rev 1192260, wails/trunk/PKGBUILD)
Deleted:
wails/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-02 16:29:35 UTC (rev 1192260)
+++ PKGBUILD 2022-05-02 16:29:42 UTC (rev 1192261)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=wails
-pkgver=1.16.9
-pkgrel=1
-pkgdesc="Create desktop apps using Go and Web Technologies"
-arch=(x86_64)
-url="https://github.com/wailsapp/wails"
-license=(MIT)
-depends=(glibc)
-makedepends=(go webkit2gtk gtk3)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/wailsapp/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('66a29a8a1c45004dd5f950c8a2d00ad18280051f4e65a433d44fdf35edce332973da3572f1208d1cc82fc0d893e9f1a16546f6a405aad5fb581ef090cc33c1ea')
-b2sums=('0c2d3df2f760811b3a43e14a4a4de068856d8f9d734f4e66242ae7fe629e745aaeef00778bd6e8c4feb13a37184563fcebec46d6ff406b147f510c4e184cd435')
-
-prepare() {
- cd "$pkgname-$pkgver"
- mkdir -vp build
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-
- go build -o build/ ./cmd/wails
-}
-
-check() {
- cd "$pkgname-$pkgver"
- go test
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -vDm 755 "build/${pkgname}" -t "${pkgdir}/usr/bin/"
- install -vDm 644 {CHANGELOG,CONTRIBUTORS,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: wails/repos/community-x86_64/PKGBUILD (from rev 1192260, wails/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-02 16:29:42 UTC (rev 1192261)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=wails
+pkgver=1.16.9
+pkgrel=2
+pkgdesc="Create desktop apps using Go and Web Technologies"
+arch=(x86_64)
+url="https://github.com/wailsapp/wails"
+license=(MIT)
+depends=(glibc)
+makedepends=(go webkit2gtk gtk3)
+source=($pkgname-$pkgver.tar.gz::https://github.com/wailsapp/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
+sha512sums=('66a29a8a1c45004dd5f950c8a2d00ad18280051f4e65a433d44fdf35edce332973da3572f1208d1cc82fc0d893e9f1a16546f6a405aad5fb581ef090cc33c1ea')
+b2sums=('0c2d3df2f760811b3a43e14a4a4de068856d8f9d734f4e66242ae7fe629e745aaeef00778bd6e8c4feb13a37184563fcebec46d6ff406b147f510c4e184cd435')
+
+prepare() {
+ mkdir -vp $pkgname-$pkgver/build
+}
+
+build() {
+ cd $pkgname-$pkgver
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+
+ go build -o build/ ./cmd/wails
+}
+
+check() {
+ cd $pkgname-$pkgver
+ go test
+}
+
+package() {
+ install -vDm 755 $pkgname-$pkgver/build/$pkgname -t "$pkgdir/usr/bin/"
+ install -vDm 644 $pkgname-$pkgver/{CHANGELOG,CONTRIBUTORS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
+ install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list