From 37be42c3dcd3b170ea701d4222982dfd3f249f3c Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Mon, 22 Apr 2024 06:49:25 +0000 Subject: [PATCH] Update podman_backup to version 1.3.2 --- .SRCINFO | 17 +++++++++-------- CHANGELOG.md | 25 +++++++++++++++++++++++++ PKGBUILD | 45 +++++++++++++++++++-------------------------- 3 files changed, 53 insertions(+), 34 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f0d5df5a4f317..4aafcc99a2b40 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,21 +1,22 @@ pkgbase = podman_backup pkgdesc = A small dart tool to push regular backups of podman volumes to a remote. - pkgver = 1.2.1 + pkgver = 1.3.2 pkgrel = 1 url = https://github.com/Skycoder42/podman_backup changelog = CHANGELOG.md arch = x86_64 - arch = i686 - arch = armv7h - arch = aarch64 license = BSD - makedepends = dart>=3.0.0 - makedepends = dart<4.0.0 depends = podman depends = xz depends = systemd options = !strip - source = podman_backup-1.2.1.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.2.1.tar.gz - b2sums = 109b6ba5d5a9eb46ce05800df2c6c9025b8d37d68ec7528d381337d2e562f7184fcef1530df95eb9d65d60c8f146819d16c837299aad520da6873f9546c2eb02 + source = sources.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.3.2.tar.gz + source = bin.tar.xz::https://github.com/Skycoder42/podman_backup/releases/download/v1.3.2/binaries-linux.tar.xz + source = debug.tar.xz::https://github.com/Skycoder42/podman_backup/releases/download/v1.3.2/binaries-linux-debug-symbols.tar.xz + b2sums = 4e64d009e706007d3700671d456711db91b7f18ef7b363b4216b256f584388c2e96f10f6eea0a50c6909de5d4b890fbeee01478c0e35a39a8c3fb6ebdadc57e4 + b2sums = e1283dd583421814020459a001b78a1746db4c7bc46b60290e7dc7e932f1745e855d80c885f70b4a2a2b0325d37ebadd7ca8c4e7ffcd2a3d4b643994b89a1ee1 + b2sums = 58acab6b2e102b4ddb49c979a34157f45f9f83feecf7c27e2e1fa29a8ee74d11f69b794063bb0d961be3372c5b016cead3bf30da22767ec06a07150a922b25b2 pkgname = podman_backup + +pkgname = podman_backup-debug diff --git a/CHANGELOG.md b/CHANGELOG.md index 06a79714d645a..543efcbd1dd23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.2] - 2024-04-12 +### Changed +- Remove pubspec.lock from repository +- Updated dependencies +- Updated min dart sdk version to 3.3.0 + +### Fixed +- Fixed CI integration + +## [1.3.1] - 2023-11-27 +### Changed +- Updated dependencies +- Updated min dart version to 3.2.0 + +## [1.3.0] - 2023-09-15 +### Added +- Added cleanup step to delete old backups on the remote + +### Changed +- Updated dependencies +- Updated min dart version to 3.1.0 + ## [1.2.1] - 2023-08-12 ### Fixed - Fixup AUR release @@ -51,6 +73,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release +[1.3.2]: https://github.com/Skycoder42/podman_backup/compare/v1.3.1...v1.3.2 +[1.3.1]: https://github.com/Skycoder42/podman_backup/compare/v1.3.0...v1.3.1 +[1.3.0]: https://github.com/Skycoder42/podman_backup/compare/v1.2.1...v1.3.0 [1.2.1]: https://github.com/Skycoder42/podman_backup/compare/v1.2.0...v1.2.1 [1.2.0]: https://github.com/Skycoder42/podman_backup/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/Skycoder42/podman_backup/compare/v1.0.4...v1.1.0 diff --git a/PKGBUILD b/PKGBUILD index 62047bdf8a0c9..c4c3b6be528e3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,39 +1,32 @@ # Maintainer: Skycoder42 -pkgname='podman_backup' +pkgbase='podman_backup' +pkgname=('podman_backup' 'podman_backup-debug') pkgdesc='A small dart tool to push regular backups of podman volumes to a remote.' -pkgver='1.2.1' +pkgver='1.3.2' pkgrel=1 -arch=('x86_64' 'i686' 'armv7h' 'aarch64') +arch=('x86_64') url='https://github.com/Skycoder42/podman_backup' license=('BSD') depends=('podman' 'xz' 'systemd') -makedepends=('dart>=3.0.0' 'dart<4.0.0') -_pkgdir='podman_backup-1.2.1' -source=("$_pkgdir.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.2.1.tar.gz") -b2sums=('109b6ba5d5a9eb46ce05800df2c6c9025b8d37d68ec7528d381337d2e562f7184fcef1530df95eb9d65d60c8f146819d16c837299aad520da6873f9546c2eb02') +source=("sources.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.3.2.tar.gz" + "bin.tar.xz::https://github.com/Skycoder42/podman_backup/releases/download/v1.3.2/binaries-linux.tar.xz" + "debug.tar.xz::https://github.com/Skycoder42/podman_backup/releases/download/v1.3.2/binaries-linux-debug-symbols.tar.xz") +b2sums=('4e64d009e706007d3700671d456711db91b7f18ef7b363b4216b256f584388c2e96f10f6eea0a50c6909de5d4b890fbeee01478c0e35a39a8c3fb6ebdadc57e4' + 'e1283dd583421814020459a001b78a1746db4c7bc46b60290e7dc7e932f1745e855d80c885f70b4a2a2b0325d37ebadd7ca8c4e7ffcd2a3d4b643994b89a1ee1' + '58acab6b2e102b4ddb49c979a34157f45f9f83feecf7c27e2e1fa29a8ee74d11f69b794063bb0d961be3372c5b016cead3bf30da22767ec06a07150a922b25b2') changelog='CHANGELOG.md' options=('!strip') +_pkgdir="$pkgbase-$pkgver" -prepare() { +package_podman_backup() { + install -D -m755 'podman-backup' "$pkgdir/usr/bin/"'podman-backup' cd "$_pkgdir" - dart pub get -} - -build() { - cd "$_pkgdir" - dart run build_runner build --delete-conflicting-outputs --release - dart compile exe -o 'bin/podman-backup' -S 'bin/podman-backup.symbols' 'bin/podman_backup.dart' -} - -check() { - cd "$_pkgdir" - dart analyze --no-fatal-warnings - dart test --preset unit -} - -package() { - cd "$_pkgdir" - install -D -m755 'bin/podman-backup' "$pkgdir/usr/bin/"'podman-backup' install -D -m644 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/"'LICENSE' } +package_podman_backup-debug() { + install -D -m644 'podman-backup.sym' "$pkgdir/usr/lib/debug/usr/bin/"'podman-backup'.sym + cd "$_pkgdir" + find . -exec install -D -m644 "{}" "$pkgdir/usr/src/debug/$pkgbase/{}" \; +} +