blob: fd8b5d7c3b2bff6634831bca65da52807e4b8ba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: endo aya <endoaya@protonmail.ch>
pkgname=archer
pkgver=0.1
pkgrel=1
pkgdesc="fetch the archlinux news"
arch=('any')
license=('GPL')
makedepends=(rust git)
source=("$pkgname-$pkgver::git+https://github.com/echnobas/archer#commit=a9eb268571a4d5cbeec444b9a6c5cf5ac44f6805")
build() {
cd $pkgname-$pkgver
cargo build --release --locked --target-dir=target
}
package() {
cd $pkgname-$pkgver
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
}
md5sums=('SKIP')
|