Everywhere: Remove support for building on Arch Linux

This commit is contained in:
networkException 2024-08-02 16:53:21 +02:00
parent 7b96470260
commit b0be2cc988
Signed by: networkException
GPG key ID: E3877443AE684391
4 changed files with 1 additions and 34 deletions

5
.gitignore vendored
View file

@ -3,8 +3,3 @@
# cargo # cargo
/target /target
# makepkg
/src
/pkg
*.tar

View file

@ -16,4 +16,4 @@ chrono = "0.4.38"
[[bin]] [[bin]]
name = "restic-integrity" name = "restic-integrity"
path = "source/main.rs" path = "src/main.rs"

View file

@ -1,28 +0,0 @@
# Maintainer: networkException <git@nwex.de>
pkgname=restic-integrity
pkgver=1.2.1
pkgrel=1
pkgdesc="Check the integrity of a restic repository without unlocking it"
arch=('x86_64')
url="https://gitlab.upi.li/networkException/restic-integrity"
license=('BSD')
depends=()
makedepends=('cargo')
source=("$pkgname-$pkgver.tar::https://gitlab.upi.li/networkException/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar")
sha256sums=('999e12744de116b2a27913297614ea7bd90664268cf37f523c7150f396230f53')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/restic-integrity" "$pkgdir/usr/bin/restic-integrity"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}