Update podman_backup to version 1.0.1

This commit is contained in:
Skycoder42 2023-04-04 07:19:29 +00:00
commit bf1896a0a0
3 changed files with 84 additions and 0 deletions

21
.SRCINFO Normal file
View file

@ -0,0 +1,21 @@
pkgbase = podman_backup
pkgdesc = A sample command-line application.
pkgver = 1.0.1
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>=2.19.0
makedepends = dart<3.0.0
depends = podman
depends = xz
depends = systemd
options = !strip
source = podman_backup-1.0.1.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.0.1.tar.gz
b2sums = 31e396eee5909cae656e00eb985053e2c54463bf00ec6305412f3e8bae4f712308e5d151478dfd54b79efa9928a5f37622417d97a372a190663d7630d3801a1f
pkgname = podman_backup

24
CHANGELOG.md Normal file
View file

@ -0,0 +1,24 @@
# Changelog
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.0.1] - 2023-04-04
### Added
- Add support for AUR releases
### Changed
- Update dependencies
## [1.0.0+1] - 2023-03-31
### Fixed
- Fixed release artifacts
## [1.0.0] - 2023-03-30
### Added
- Initial release
[1.0.1]: https://github.com/Skycoder42/podman_backup/compare/v1.0.0+1...v1.0.1
[1.0.0+1]: https://github.com/Skycoder42/podman_backup/compare/v1.0.0...v1.0.0+1
[1.0.0]: https://github.com/Skycoder42/podman_backup/releases/tag/v1.0.0

39
PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
# Maintainer: Skycoder42 <Skycoder42@users.noreply.github.com>
pkgname='podman_backup'
pkgdesc='A sample command-line application.'
pkgver='1.0.1'
pkgrel=1
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url='https://github.com/Skycoder42/podman_backup'
license=('BSD')
depends=('podman' 'xz' 'systemd')
makedepends=('dart>=2.19.0' 'dart<3.0.0')
_pkgdir='podman_backup-1.0.1'
source=("$_pkgdir.tar.gz::https://github.com/Skycoder42/podman_backup/archive/refs/tags/v1.0.1.tar.gz")
b2sums=('31e396eee5909cae656e00eb985053e2c54463bf00ec6305412f3e8bae4f712308e5d151478dfd54b79efa9928a5f37622417d97a372a190663d7630d3801a1f')
changelog='CHANGELOG.md'
options=('!strip')
prepare() {
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'
}