Everywhere: Remove support for building on Arch Linux
This commit is contained in:
parent
7b96470260
commit
b0be2cc988
4 changed files with 1 additions and 34 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -3,8 +3,3 @@
|
|||
|
||||
# cargo
|
||||
/target
|
||||
|
||||
# makepkg
|
||||
/src
|
||||
/pkg
|
||||
*.tar
|
||||
|
|
|
@ -16,4 +16,4 @@ chrono = "0.4.38"
|
|||
|
||||
[[bin]]
|
||||
name = "restic-integrity"
|
||||
path = "source/main.rs"
|
||||
path = "src/main.rs"
|
||||
|
|
28
PKGBUILD
28
PKGBUILD
|
@ -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"
|
||||
}
|
Loading…
Reference in a new issue