diff --git a/.gitignore b/.gitignore index 4a66627..e2b180e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,3 @@ # cargo /target - -# makepkg -/src -/pkg -*.tar diff --git a/Cargo.toml b/Cargo.toml index d82fe68..bc6dfc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ chrono = "0.4.38" [[bin]] name = "restic-integrity" -path = "source/main.rs" +path = "src/main.rs" diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index ffccc83..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: networkException - -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" -} diff --git a/source/main.rs b/src/main.rs similarity index 100% rename from source/main.rs rename to src/main.rs