summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f07e60c3234f2d9672ccf7f944003f5443b2c7a (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
# Maintainer: Andrew Rabert <ar@nullsum.net>
pkgname=unscrambler
pkgver=0.5.4
pkgrel=2

pkgdesc="unscramble not standard IVs scrambled DVDs thru bruteforce, intended for Gamecube/WII Optical Disks."
arch=('x86_64')
url="https://github.com/saramibreak/unscrambler"
license=('GPL-2.0-only')

source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('c9756285e462c2b6583491992b34d35a066c147be3cf3cdeb96447b4bdb6a57f')

build() {
	cd "unscrambler-${pkgver}"

	make
}

package() {
	cd "unscrambler-${pkgver}"

	install -Dm 755 "unscrambler.out" -t "${pkgdir}/usr/bin"
	install -Dm 644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}