mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
Initial packaging.
This commit is contained in:
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = cargo-cache
|
||||||
|
pkgdesc = Display info and prune cargo cache
|
||||||
|
pkgver = 0.4.3
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/matthiaskrgr/cargo-cache
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
license = Apache
|
||||||
|
depends = cargo
|
||||||
|
source = cargo-cache-0.4.3.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.4.3.tar.gz
|
||||||
|
sha256sums = 9aea31559c9a537748296d8a75d9563f28de1980aeb11bdfbb33d37dda64ef00
|
||||||
|
|
||||||
|
pkgname = cargo-cache
|
||||||
|
|
||||||
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
|
||||||
|
|
||||||
|
pkgname=cargo-cache
|
||||||
|
pkgver=0.4.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Display info and prune cargo cache"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/matthiaskrgr/cargo-cache"
|
||||||
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
|
||||||
|
license=('MIT' 'Apache')
|
||||||
|
depends=('cargo')
|
||||||
|
sha256sums=('9aea31559c9a537748296d8a75d9563f28de1980aeb11bdfbb33d37dda64ef00')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
cargo build --release
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
install -Dm755 "target/release/cargo-cache" "$pkgdir/usr/bin/cargo-cache"
|
||||||
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-MIT
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user