[arch-commits] Commit in miniflux/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri Dec 17 07:32:53 UTC 2021
Date: Friday, December 17, 2021 @ 07:32:53
Author: grawlinson
Revision: 1075891
archrelease: copy trunk to community-x86_64
Added:
miniflux/repos/community-x86_64/PKGBUILD
(from rev 1075890, miniflux/trunk/PKGBUILD)
miniflux/repos/community-x86_64/sysusers.conf
(from rev 1075890, miniflux/trunk/sysusers.conf)
Deleted:
miniflux/repos/community-x86_64/PKGBUILD
miniflux/repos/community-x86_64/sysusers.conf
---------------+
PKGBUILD | 166 ++++++++++++++++++++++++++++----------------------------
sysusers.conf | 2
2 files changed, 85 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-17 07:32:00 UTC (rev 1075890)
+++ PKGBUILD 2021-12-17 07:32:53 UTC (rev 1075891)
@@ -1,82 +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.33
-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'
-)
-b2sums=('198e3fba8791df5468a1d10dcc58b4c91fa017612d4a0ccf51a65e82cb7727e684fa913ab150deab28c5f1aaf8060e8e93d405a68bfab0cfa16260e1f8f29057'
- '71a1cba0e015c6b33897e3492dd014efbfac240d3c6f007f86ff7bade830ce0f2809d4d0ad1d8ca1189627e2961dddc7ff6682cd445587f5145bee0eab8a7bf6')
-
-prepare() {
- cd "v2-$pkgver"
-
- # create directory for build output
- mkdir -p build
-
- # download dependencies
- go mod vendor
-}
-
-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 1075890, miniflux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-17 07:32:53 UTC (rev 1075891)
@@ -0,0 +1,84 @@
+# 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"
+}
Deleted: sysusers.conf
===================================================================
--- sysusers.conf 2021-12-17 07:32:00 UTC (rev 1075890)
+++ sysusers.conf 2021-12-17 07:32:53 UTC (rev 1075891)
@@ -1 +0,0 @@
-u miniflux - "Miniflux daemon account"
Copied: miniflux/repos/community-x86_64/sysusers.conf (from rev 1075890, miniflux/trunk/sysusers.conf)
===================================================================
--- sysusers.conf (rev 0)
+++ sysusers.conf 2021-12-17 07:32:53 UTC (rev 1075891)
@@ -0,0 +1 @@
+u miniflux - "Miniflux daemon account"
More information about the arch-commits
mailing list