blob: 47840bbcc84d8fcb1a9a45d0ed03a2de7316bc47 (
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
|
# Maintainer: Pierre Dommerc <dommerc.pierre@gmail.com>
pkgname=milcheck
pkgver=0.3.0
pkgrel=1
pkgdesc="A CLI that displays the status of your pacman mirrorlist and the Arch Linux latest news right in the terminal"
arch=('x86_64')
url='https://github.com/doums/milcheck'
license=('MPL2')
depends=('openssl' 'gcc-libs')
makedepends=('rust' 'cargo' 'cmake')
provides=('milcheck')
conflicts=('milcheck')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('aa7cb22ce86294ee4dddbb071b1f2c5b0f0aec0b920c807ed73919168fa3dc05')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dvm 755 "target/release/milcheck" "$pkgdir/usr/bin/milcheck"
}
|