Date: Sunday, April 23, 2023 @ 01:32:13
Author: svenstaro
Revision: 1448341
archrelease: copy trunk to community-x86_64
Added:
bacon/repos/community-x86_64/PKGBUILD
(from rev 1448340, bacon/trunk/PKGBUILD)
Deleted:
bacon/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 41 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-23 01:31:55 UTC (rev 1448340)
+++ PKGBUILD 2023-04-23 01:32:13 UTC (rev 1448341)
@@ -1,52 +0,0 @@
-# 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
-}
Copied: bacon/repos/community-x86_64/PKGBUILD (from rev 1448340,
bacon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-23 01:32:13 UTC (rev 1448341)
@@ -0,0 +1,41 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Jokler <[email protected]>
+
+pkgname=bacon
+pkgver=2.8.1
+pkgrel=1
+pkgdesc='A background rust code checker'
+arch=('x86_64')
+url='https://dystroy.org/bacon'
+license=('AGPL3')
+depends=('glibc' 'gcc-libs')
+makedepends=('rust')
+options=('!lto')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Canop/bacon/archive/refs/tags/v${pkgver}.tar.gz")
+b2sums=('911ad71c80b8adfcc57853df7c6efa730a24d4538fd1d1b1d888514537689a5ea89af8ff037e97e8bff2df7d89d993ef3c31d3e755b986b97926f9c7903ad88d')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cargo build --frozen --release --all-features
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
+ install -vDm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
+}