summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc647d37e859e2668c98c7b416561717dc9e1ba1 (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
# Maintainer: Sagittarius A* <lux.r.ck@gmail.com>
pkgname=rgssad
pkgver=0.2.0
pkgrel=1
pkgdesc="Extract rgssad/rgss2a/rgss3a files."
arch=('i686' 'x86_64')
url="https://github.com/luxrck/rgssad"
license=('MIT')
depends=()
makedepends=('git' 'rust' 'cargo')
source=("${pkgname}::git+https://github.com/luxrck/rgssad.git#tag=v${pkgver}")
md5sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  cargo build --release
}

package() {
  cd "$srcdir/$pkgname"

  mkdir -p "$pkgdir/usr/bin"
  mv "target/release/rgssad" "$pkgdir/usr/bin"
}

# vim:set ts=2 sw=2 et: