blob: 262cc3b0d95ed0113a038226245c74b9f33d63d9 (
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
27
28
29
30
|
# Maintainer: Andrew Simmons <agsimmons0 at gmail dot com>
pkgname=nstool
pkgver='1.9.2'
pkgrel=1
pkgdesc="General purpose read/extract tool for Nintendo Switch file formats."
arch=('x86_64' 'i686')
url="https://github.com/jakcron/nstool"
license=('MIT')
makedepends=('git')
source=("git+https://github.com/jakcron/nstool.git#tag=v${pkgver}")
md5sums=('SKIP')
prepare() {
cd "$srcdir/${pkgname}"
git submodule init
git submodule update
}
build() {
cd "$srcdir/${pkgname}"
make deps
make
}
package() {
cd "$srcdir/${pkgname}"
mkdir -p "$pkgdir/usr/bin"
cp "./bin/nstool" "$pkgdir/usr/bin"
}
|