Fix aur package 😆
This commit is contained in:
parent
869d6a29d8
commit
8e016563e9
5 changed files with 1380 additions and 1 deletions
|
@ -17,21 +17,25 @@ source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgn
|
||||||
noextract=()
|
noextract=()
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
export CARGO_TARGET_DIR=target
|
export CARGO_TARGET_DIR=target
|
||||||
cargo build --frozen --release --all-features
|
cargo build --frozen --release --all-features
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
cargo test --frozen --all-features
|
cargo test --frozen --all-features
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
sudo install -Dm0755 -t "/usr/bin/" "target/release/$pkgname"
|
sudo install -Dm0755 -t "/usr/bin/" "target/release/$pkgname"
|
||||||
}
|
}
|
||||||
sha256sums=('0bdf82de5b48760e9dcaee0f474ac8cdc333969c60734c4aaa79bc33930a755f')
|
sha256sums=('0bdf82de5b48760e9dcaee0f474ac8cdc333969c60734c4aaa79bc33930a755f')
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 85961578c29cf4d7b1e5b6ed06c843404def002b
|
Subproject commit 1070f216ace48058c236dd3398cdf2ce60d52ac6
|
1360
archpackage/pkg/aarty/.BUILDINFO
Normal file
1360
archpackage/pkg/aarty/.BUILDINFO
Normal file
File diff suppressed because it is too large
Load diff
BIN
archpackage/pkg/aarty/.MTREE
Normal file
BIN
archpackage/pkg/aarty/.MTREE
Normal file
Binary file not shown.
15
archpackage/pkg/aarty/.PKGINFO
Normal file
15
archpackage/pkg/aarty/.PKGINFO
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Generated by makepkg 6.0.1
|
||||||
|
# using fakeroot version 1.29
|
||||||
|
pkgname = aarty
|
||||||
|
pkgbase = aarty
|
||||||
|
pkgver = 0.1.0-1
|
||||||
|
pkgdesc = A simple CLI tool to convert the images to ASCII art 🦀💙
|
||||||
|
url = https://github.com/anas-elgarhy/aarty
|
||||||
|
builddate = 1664878775
|
||||||
|
packager = Unknown Packager
|
||||||
|
size = 0
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
replaces = aarty
|
||||||
|
provides = aarty
|
||||||
|
makedepend = cargo
|
Loading…
Reference in a new issue