summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6cf2658a8dc51e47f0f6d4b5fd722302098ef926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: echnobas
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')