[arch-commits] Commit in zk/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Mon May 23 08:14:40 UTC 2022
Date: Monday, May 23, 2022 @ 08:14:40
Author: grawlinson
Revision: 1210099
archrelease: copy trunk to community-x86_64
Added:
zk/repos/community-x86_64/PKGBUILD
(from rev 1210098, zk/trunk/PKGBUILD)
Deleted:
zk/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-23 08:12:47 UTC (rev 1210098)
+++ PKGBUILD 2022-05-23 08:14:40 UTC (rev 1210099)
@@ -1,69 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Nogweii <me at nogweii.net>
-
-pkgname=zk
-pkgver=0.10.0
-pkgrel=1
-pkgdesc='A command-line tool helping you to maintain a Zettelkasten or personal wiki'
-arch=('x86_64')
-url="https://github.com/mickael-menu/zk"
-license=('GPL3')
-depends=('icu')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='d8c9031f9c7b2bebe9eada6e52243d8403b34100'
-source=("$pkgname::git+$url.git#commit=$_commit")
-md5sums=('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}"
-
- go build -v \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external -extldflags $LDFLAGS \
- -X main.Version=$(git describe --tags HEAD) \
- -X main.Build=$(git rev-parse --short HEAD)" \
- -tags "fts5 icu" \
- -o build \
- .
-}
-
-check() {
- cd "$pkgname"
- go test -v -race -tags "fts5 icu" ./...
-}
-
-package() {
- cd "$pkgname"
-
- # binary
- install -vDm755 -t "$pkgdir/usr/bin" build/zk
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
- cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
-}
Copied: zk/repos/community-x86_64/PKGBUILD (from rev 1210098, zk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-23 08:14:40 UTC (rev 1210099)
@@ -0,0 +1,69 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Nogweii <me at nogweii.net>
+
+pkgname=zk
+pkgver=0.10.1
+pkgrel=1
+pkgdesc='A command-line tool helping you to maintain a Zettelkasten or personal wiki'
+arch=('x86_64')
+url="https://github.com/mickael-menu/zk"
+license=('GPL3')
+depends=('glibc')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='dbd791f6723199174833c367449af365cce441c8'
+source=("$pkgname::git+$url.git#commit=$_commit")
+md5sums=('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}"
+
+ go build -v \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external -extldflags $LDFLAGS \
+ -X main.Version=$(git describe --tags HEAD) \
+ -X main.Build=$(git rev-parse --short HEAD)" \
+ -tags "fts5" \
+ -o build \
+ .
+}
+
+check() {
+ cd "$pkgname"
+ go test -v -race -tags "fts5" ./...
+}
+
+package() {
+ cd "$pkgname"
+
+ # binary
+ install -vDm755 -t "$pkgdir/usr/bin" build/zk
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
+ cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
+}
More information about the arch-commits
mailing list