Date: Wednesday, April 19, 2023 @ 02:34:31
Author: grawlinson
Revision: 1447313
archrelease: copy trunk to community-x86_64
Added:
peco/repos/community-x86_64/PKGBUILD
(from rev 1447312, peco/trunk/PKGBUILD)
Deleted:
peco/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 135 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 69 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-19 02:33:46 UTC (rev 1447312)
+++ PKGBUILD 2023-04-19 02:34:31 UTC (rev 1447313)
@@ -1,66 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Morteza NourelahiAlamdari <[email protected]>
-# Contributor: Samuel Walladge <aur at swalladge dot net>
-
-pkgname=peco
-pkgver=0.5.10
-pkgrel=4
-pkgdesc='Simplistic interactive filtering tool'
-arch=('x86_64')
-url='https://github.com/peco/peco'
-license=('MIT')
-depends=('glibc')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='27cc9100926f7d20ca3efbc1b49d116ef9e90a99'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # create directory for build output
- mkdir build
-
- # download dependencies
- go mod download
-}
-build() {
- cd "$pkgname"
-
- # set Go flags
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
-
- go build -v \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
- -o build \
- ./cmd/...
-}
-
-package() {
- cd "$pkgname"
-
- # binary
- install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-}
-
-# vim:set ts=2 sw=2 et:
Copied: peco/repos/community-x86_64/PKGBUILD (from rev 1447312,
peco/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-19 02:34:31 UTC (rev 1447313)
@@ -0,0 +1,69 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Morteza NourelahiAlamdari <[email protected]>
+# Contributor: Samuel Walladge <aur at swalladge dot net>
+
+pkgname=peco
+pkgver=0.5.11
+pkgrel=1
+pkgdesc='Simplistic interactive filtering tool'
+arch=('x86_64')
+url='https://github.com/peco/peco'
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='46703dc3aa48838f1f3c3d7d7c96a452914fb456'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # create directory for build output
+ mkdir build
+
+ # download dependencies
+ export GOPATH="${srcdir}"
+ go mod download
+}
+build() {
+ cd "$pkgname"
+
+ # set Go flags
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOPATH="${srcdir}"
+
+ go build -v \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-compressdwarf=false \
+ -linkmode external \
+ -extldflags ${LDFLAGS}" \
+ -o build \
+ ./cmd/...
+
+}
+
+package() {
+ cd "$pkgname"
+
+ # binary
+ install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}
+
+# vim:set ts=2 sw=2 et: