# Maintainer: Alessio Biancalana pkgname=pacnews pkgver=2.4.1 pkgrel=1 pkgdesc="Read Arch Linux News from your CLI" arch=('i686' 'x86_64') license=('MIT') url="https://github.com/dottorblaster/pacnews" makedepends=('rust' 'openssl') source=("https://github.com/dottorblaster/$pkgname/archive/v${pkgver}.tar.gz") md5sums=('f923994a948cfdb4a51df493e2e7f817') build() { cd "$srcdir/$pkgname-$pkgver" cargo build --release } package() { cd "$srcdir/$pkgname-$pkgver" install -DT "target/release/pacnews" "$pkgdir/usr/bin/pacnews" }