summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2943816027edc3c4e1cf33b3f4554d04a6ada061 (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.1.4
pkgrel=1
pkgdesc="Extract rgssad/rgss2a/rgss3a files."
arch=('i686' 'x86_64')
url="https://github.com/luxrck/rgssad"
license=('MIT')
depends=()
makedepends=('cargo' 'rust' 'git')
source=("${pkgname}::git+https://github.com/luxrck/rgssad.git#tag=${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: