summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e3e00c18f3aba9e9c46948fb600c0b16ce53041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Amy Wilson <awils_1 at xsmail dot com>
pkgname="wyvern"
pkgver="1.4.1"
pkgrel="3"
pkgdesc="Command-line tool written in rust that is meant to make downloading GOG games and associated activities easier and faster on linux."
arch=("x86_64")
url="https://git.sr.ht/%7Enicohman/wyvern/"
license=("GPL")
makedepends=("rust")
depends=("curl")
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/%7Enicohman/$pkgname/archive/${pkgver}.tar.gz")
md5sums=('22a0685ca642548e7c87678e1dbe11cf')

build() {
  cd ${pkgname}-${pkgver}
  cargo build --release
}

package() {
  cd ${pkgname}-${pkgver}
  install -Dm 755 "target/release/${pkgname}" -t "$pkgdir/usr/bin"
}