blob: 132a37fd1f2cd58be8bc6dcf2fb41321c6d812b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: freehelpdesk <freehelpdesk@proton.me>
pkgname=parceli-git
pkgver=0.1.0
pkgrel=1
pkgdesc='CLI implementation of a package/mail tracker for USPS/UPS/FedEx made in Rust using the parcel library and a bit of smarts.'
arch=('x86_64')
url="https://github.com/freehelpdesk/parceli"
license=('BSD3')
makedepends=(rust rust-src git pkg-config)
source=("git+$url")
sha256sums=('SKIP')
pkgvar() {
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare(){
cd "parceli"
}
build() {
cd "parceli"
cargo build --release
}
package() {
cd "parceli"
install -Dm755 target/release/parceli "$pkgdir"/usr/bin/parceli
}
|