blob: dfda3de1e5745f4accd75af004bccd4b11562b4b (
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
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Taufik Hidayat <tfkhdyt@proton.me>
pkgname=axu
pkgver=1.5.6
pkgrel=1
pkgdesc="A cli tool to check your Arch Linux explicitly installed packages updates"
arch=("x86_64")
url="https://github.com/tfkhdyt/axu"
license=('GPL3')
depends=('pacman-contrib' 'yay' 'gawk')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/tfkhdyt/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
md5sums=("5ebf7124bab6180a8a4cb221fa96c37a")
prepare() {
cd $pkgname-$pkgver
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd $pkgname-$pkgver
cargo build --frozen --release
}
package() {
cd $pkgname-$pkgver
install -Dm 755 -t "${pkgdir}/usr/bin" \
target/release/axu
}
|