[arch-commits] Commit in croc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Sat Nov 21 16:16:47 UTC 2020
Date: Saturday, November 21, 2020 @ 16:16:47
Author: maximbaz
Revision: 758496
archrelease: copy trunk to community-x86_64
Added:
croc/repos/community-x86_64/PKGBUILD
(from rev 758495, croc/trunk/PKGBUILD)
Deleted:
croc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 16:16:27 UTC (rev 758495)
+++ PKGBUILD 2020-11-21 16:16:47 UTC (rev 758496)
@@ -1,36 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
-
-pkgname=croc
-pkgver=8.6.6
-pkgrel=1
-pkgdesc='Easily and securely send things from one computer to another.'
-arch=('x86_64')
-url="https://github.com/schollz/${pkgname}"
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz")
-sha256sums=('739a5efb389373e32b10dfd234b60f651f8cb861dff8667b32d5677d4c9856ed')
-
-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=vendor -modcacherw"
- go build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
- install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${pkgname}.service"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
Copied: croc/repos/community-x86_64/PKGBUILD (from rev 758495, croc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-21 16:16:47 UTC (rev 758496)
@@ -0,0 +1,36 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
+
+pkgname=croc
+pkgver=8.6.6
+pkgrel=1
+pkgdesc='Easily and securely send things from one computer to another.'
+arch=('x86_64')
+url="https://github.com/schollz/${pkgname}"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz")
+sha256sums=('739a5efb389373e32b10dfd234b60f651f8cb861dff8667b32d5677d4c9856ed')
+
+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=vendor -modcacherw"
+ go build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+ install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${pkgname}.service"
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}
More information about the arch-commits
mailing list