Skip to content

Commit

Permalink
chore(aur-bin): adapt to re-release
Browse files Browse the repository at this point in the history
  • Loading branch information
obreitwi committed May 29, 2024
1 parent 1eadca9 commit 7ab27e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions aur/asfa-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = asfa-bin
pkgdesc = share files by upload via ssh and generation of a non-guessable link (pre-built)
pkgver = 0.10.0
pkgrel = 1
pkgrel = 2
url = https://github.com/obreitwi/asfa
arch = x86_64
license = MIT
Expand All @@ -10,7 +10,7 @@ pkgbase = asfa-bin
depends = zlib
provides = asfa
conflicts = asfa
source = https://github.com/obreitwi/asfa/releases/download/v0.10.0/asfa-v0.10.0-x86_64-unknown-linux-gnu.tar.gz
sha256sums = 81bd9cf708704890ad361c8887464364b65daddc74915d89828dfb0451578f09
source = https://github.com/obreitwi/asfa/releases/download/v0.10.0.1/asfa-v0.10.0.1-x86_64-unknown-linux-gnu.tar.gz
sha256sums = 23c7c089486cb71d244b8b620bcd6e388bba32de0ad32c3e30392ff7da73e408

pkgname = asfa-bin
10 changes: 7 additions & 3 deletions aur/asfa-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
_pkgname=asfa
pkgname=${_pkgname}-bin
pkgver=0.10.0
pkgrel=1
pkgrel=2
pkgdesc='share files by upload via ssh and generation of a non-guessable link (pre-built)'
url="https://github.com/obreitwi/asfa"
license=("MIT")
arch=("x86_64")
provides=("asfa")
conflicts=("asfa")
depends=('gcc-libs' 'openssl' 'zlib')
_archive_name_rerelease="${_pkgname}-v$pkgver.1-x86_64-unknown-linux-gnu"
_archive_name="${_pkgname}-v$pkgver-x86_64-unknown-linux-gnu"
source=("https://github.com/obreitwi/asfa/releases/download/v$pkgver/${_archive_name}.tar.gz")
sha256sums=("81bd9cf708704890ad361c8887464364b65daddc74915d89828dfb0451578f09")
source=("https://github.com/obreitwi/asfa/releases/download/v$pkgver.1/${_archive_name_rerelease}.tar.gz")
sha256sums=("23c7c089486cb71d244b8b620bcd6e388bba32de0ad32c3e30392ff7da73e408")


package() {
Expand All @@ -23,4 +24,7 @@ package() {
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
find man/man1 -type f -print0 \
| xargs -0 install -Dm644 -t "$pkgdir/usr/share/man/man1"
find example-config -type f -print0 \
| xargs -0 install -Dm644 -t "$pkgdir/usr/share/doc/asfa/example-config"
install -Dm644 README.md "$pkgdir/usr/share/doc/asfa/README.md"
}

0 comments on commit 7ab27e1

Please sign in to comment.