[arch-commits] Commit in miniflux/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Dec 21 23:00:38 UTC 2021
Date: Tuesday, December 21, 2021 @ 23:00:38
Author: grawlinson
Revision: 1082672
archrelease: copy trunk to community-x86_64
Added:
miniflux/repos/community-x86_64/PKGBUILD
(from rev 1082671, miniflux/trunk/PKGBUILD)
miniflux/repos/community-x86_64/sysusers.conf
(from rev 1082671, miniflux/trunk/sysusers.conf)
Deleted:
miniflux/repos/community-x86_64/PKGBUILD
miniflux/repos/community-x86_64/sysusers.conf
---------------+
PKGBUILD | 174 ++++++++++++++++++++++++++++----------------------------
sysusers.conf | 2
2 files changed, 91 insertions(+), 85 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-21 22:57:28 UTC (rev 1082671)
+++ PKGBUILD 2021-12-21 23:00:38 UTC (rev 1082672)
@@ -1,84 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Thor77 <thor77 at thor77 dot org>
-# Contributor: Clar Charr <clar at charr.xyz>
-# Contributor: somini <dev at somini dot xyz>
-
-pkgname=miniflux
-pkgver=2.0.34
-pkgrel=1
-pkgdesc="Minimalist and opinionated feed reader"
-arch=('x86_64')
-url="https://miniflux.app"
-license=('Apache')
-depends=('glibc')
-optdepends=(
- 'postgresql: for local PostgreSQL instance'
-)
-makedepends=('go' 'git')
-backup=('etc/miniflux.conf')
-source=(
- "$pkgname-$pkgver.tar.gz::https://github.com/miniflux/v2/archive/$pkgver.tar.gz"
- 'sysusers.conf'
-)
-sha512sums=('516d2b8fd322cfb0d516b28cda21950981edbc06093d1acde9afc9d7136dda9e2df6d663cd97db6bf77dbbb4ffb9eb23a53d4578cbae3f9098efcef8583c98f6'
- 'eb026d1eb085f0638161a6a75af5e870c7ba4755012bf7f895de5c1bdd9fbdcb44a8aacbb71c482ca101c214f12f65906ddbcbb7044fad051490f44276aba8e5')
-b2sums=('2629137a9b091eba72625af8ff4f5f7375226ec5ff3e23c9efbf3a00d31598ba99fc1153e2b8cdd58b6f1c87f2ced59da7549b8e13eefcc821d26dd77a669d3c'
- '71a1cba0e015c6b33897e3492dd014efbfac240d3c6f007f86ff7bade830ce0f2809d4d0ad1d8ca1189627e2961dddc7ff6682cd445587f5145bee0eab8a7bf6')
-
-prepare() {
- cd "v2-$pkgver"
-
- # create directory for build output
- mkdir -p build
-
- # download dependencies
- go mod download
-}
-
-build() {
- cd "v2-$pkgver"
-
- # set Go flags
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
-
- # ensure build date is reproducible
- local BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
-
- go build -v \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external -extldflags ${LDFLAGS} \
- -X miniflux.app/version.Version=${pkgver} \
- -X miniflux.app/version.Commit=tarball \
- -X miniflux.app/version.BuildDate=${BUILD_DATE}" \
- -o build \
- .
-}
-
-check() {
- cd "v2-$pkgver"
- go test -v -race -count=1 ./...
-}
-
-package() {
- cd "v2-$pkgver"
-
- # binary
- install -vDm755 "build/$pkgname.app" "$pkgdir/usr/bin/$pkgname"
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/man/man1" "$pkgname.1"
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md ChangeLog
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
- # systemd integration
- install -vDm644 -t "$pkgdir/usr/lib/systemd/system" "packaging/systemd/$pkgname.service"
- install -vDm644 "$srcdir/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
- install -vDm644 -t "$pkgdir/etc" "packaging/$pkgname.conf"
-}
Copied: miniflux/repos/community-x86_64/PKGBUILD (from rev 1082671, miniflux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-21 23:00:38 UTC (rev 1082672)
@@ -0,0 +1,90 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Thor77 <thor77 at thor77 dot org>
+# Contributor: Clar Charr <clar at charr.xyz>
+# Contributor: somini <dev at somini dot xyz>
+
+pkgname=miniflux
+pkgver=2.0.34
+pkgrel=2
+pkgdesc="Minimalist and opinionated feed reader"
+arch=('x86_64')
+url="https://miniflux.app"
+license=('Apache')
+depends=('glibc')
+optdepends=(
+ 'postgresql: for local PostgreSQL instance'
+)
+makedepends=('go' 'git')
+backup=('etc/miniflux.conf')
+_commit='686dd92cb9e486c41f407e93d2e10f6b4609f778'
+source=(
+ "$pkgname::git+https://github.com/miniflux/v2.git#commit=$_commit"
+ 'sysusers.conf'
+)
+sha512sums=('SKIP'
+ 'eb026d1eb085f0638161a6a75af5e870c7ba4755012bf7f895de5c1bdd9fbdcb44a8aacbb71c482ca101c214f12f65906ddbcbb7044fad051490f44276aba8e5')
+b2sums=('SKIP'
+ '71a1cba0e015c6b33897e3492dd014efbfac240d3c6f007f86ff7bade830ce0f2809d4d0ad1d8ca1189627e2961dddc7ff6682cd445587f5145bee0eab8a7bf6')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # create directory for build output
+ mkdir -p build
+
+ # download dependencies
+ go mod download
+}
+
+build() {
+ cd "$pkgname"
+
+ # set Go flags
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+
+ # ensure build date is reproducible
+ local BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
+
+ go build -v \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external -extldflags ${LDFLAGS} \
+ -X miniflux.app/version.Version=${pkgver} \
+ -X miniflux.app/version.Commit=${_commit} \
+ -X miniflux.app/version.BuildDate=${BUILD_DATE}" \
+ -o build \
+ .
+}
+
+check() {
+ cd "$pkgname"
+ go test -v -race -count=1 ./...
+}
+
+package() {
+ cd "$pkgname"
+
+ # binary
+ install -vDm755 "build/$pkgname.app" "$pkgdir/usr/bin/$pkgname"
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/man/man1" "$pkgname.1"
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md ChangeLog
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+ # systemd integration
+ install -vDm644 -t "$pkgdir/usr/lib/systemd/system" "packaging/systemd/$pkgname.service"
+ install -vDm644 "$srcdir/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ install -vDm644 -t "$pkgdir/etc" "packaging/$pkgname.conf"
+}
Deleted: sysusers.conf
===================================================================
--- sysusers.conf 2021-12-21 22:57:28 UTC (rev 1082671)
+++ sysusers.conf 2021-12-21 23:00:38 UTC (rev 1082672)
@@ -1 +0,0 @@
-u miniflux - "Miniflux daemon account"
Copied: miniflux/repos/community-x86_64/sysusers.conf (from rev 1082671, miniflux/trunk/sysusers.conf)
===================================================================
--- sysusers.conf (rev 0)
+++ sysusers.conf 2021-12-21 23:00:38 UTC (rev 1082672)
@@ -0,0 +1 @@
+u miniflux - "Miniflux daemon account"
More information about the arch-commits
mailing list