Date: Wednesday, April 12, 2023 @ 08:30:18
  Author: grawlinson
Revision: 1444806

archrelease: copy trunk to community-x86_64

Added:
  bacon/repos/community-x86_64/PKGBUILD
    (from rev 1444805, bacon/trunk/PKGBUILD)
Deleted:
  bacon/repos/community-x86_64/Cargo.lock.patch
  bacon/repos/community-x86_64/PKGBUILD

------------------+
 Cargo.lock.patch |   11 -----
 PKGBUILD         |  102 +++++++++++++++++++++++++++--------------------------
 2 files changed, 52 insertions(+), 61 deletions(-)

Deleted: Cargo.lock.patch
===================================================================
--- Cargo.lock.patch    2023-04-12 08:29:30 UTC (rev 1444805)
+++ Cargo.lock.patch    2023-04-12 08:30:18 UTC (rev 1444806)
@@ -1,11 +0,0 @@
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -90,7 +90,7 @@ checksum = 
"d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
- 
- [[package]]
- name = "bacon"
--version = "2.4.1-dev"
-+version = "2.5.0"
- dependencies = [
-  "anyhow",
-  "cargo_metadata",

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-12 08:29:30 UTC (rev 1444805)
+++ PKGBUILD    2023-04-12 08:30:18 UTC (rev 1444806)
@@ -1,50 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Jokler <[email protected]>
-
-pkgname=bacon
-pkgver=2.7.0
-pkgrel=1
-pkgdesc='A background rust code checker'
-arch=('x86_64')
-url='https://dystroy.org/bacon'
-license=('AGPL3')
-depends=('glibc' 'gcc-libs')
-makedepends=('git' 'rust')
-options=('!lto')
-_commit='32579d389f27d31e5eb9fc9b648153aa1e8a7da4'
-source=("$pkgname::git+https://github.com/Canop/bacon.git#commit=$_commit";)
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname"
-
-  cargo build --frozen --release --all-features
-}
-
-check() {
-  cd "$pkgname"
-
-  cargo test --frozen --all-features
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
-}

Copied: bacon/repos/community-x86_64/PKGBUILD (from rev 1444805, 
bacon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-12 08:30:18 UTC (rev 1444806)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Jokler <[email protected]>
+
+pkgname=bacon
+pkgver=2.8.0
+pkgrel=1
+pkgdesc='A background rust code checker'
+arch=('x86_64')
+url='https://dystroy.org/bacon'
+license=('AGPL3')
+depends=('glibc' 'gcc-libs')
+makedepends=('git' 'rust')
+options=('!lto')
+_commit='ef78f6c3ad11111e7a8345a4e2f33419bfdaf0e8'
+source=("$pkgname::git+https://github.com/Canop/bacon.git#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  # untagged release
+  # git describe --tags | sed 's/^v//'
+  grep "^version" Cargo.toml | sed 's/version = \"\(.*\)"/\1/'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+
+  cargo build --frozen --release --all-features
+}
+
+check() {
+  cd "$pkgname"
+
+  cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
+}

Reply via email to