summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97490a6632667f91e97add4ae7db97bfa1289155 (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: Yacob Zitouni <yacob.zitouni@gmail.com>
pkgname=('bannertool')
pkgver=1.2.0
pkgrel=2
pkgdesc="A tool for creating 3DS banners"
arch=('i686' 'x86_64')
url="https://github.com/Steveice10/bannertool/"
license=('MIT')
depends=('zip')
sha256sums=('SKIP' 'SKIP')

source=("$pkgname::git+https://github.com/Steveice10/bannertool.git#tag=1.2.0"
		"buildtools::git+https://github.com/Steveice10/buildtools.git#commit=4524b3a")


prepare() {
	cd "$pkgname"
	git submodule init
	git config submodule.buildtools.url $srcdir/buildtools
	git submodule update
}

build() {
    cd "$srcdir/$pkgname/"
    make
}

package() {
    install -D "$srcdir/$pkgname/output/linux-$CARCH/$pkgname" "$pkgdir/usr/bin/$pkgname"
}