summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fac822bb6c49c2b441264de4f421879b720ea8d6 (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: evertonstz
pkgname=wiibafu
pkgver=1.2
pkgrel=1
pkgdesc="Fork of Wii Backup Fusion fixing the bug with game spliting. The complete and simple to use backup solution for your Wii games"
arch=('i686' 'x86_64')
url="https://github.com/evertonstz/${pkgname}"
license=('GPL')
depends=('wit' 'qt5-base')
makedepends=('gcc' 'wget')

source=("https://github.com/evertonstz/${pkgname}/archive/${pkgver}.tar.gz")

sha256sums=('d946569bc5348a09e1c9963ebb24e75b95349acaecbb237bd0b161f829341b6e')

build() {
	cd "$pkgname-$pkgver"
	qmake
    make
}

package() {
    mkdir -p "${pkgdir}/usr/bin/"
    mkdir -p "${pkgdir}/usr/share/pixmaps/"
    mkdir -p "${pkgdir}/usr/share/applications/"
    cp "${pkgname}-${pkgver}/bin/WiiBaFu" "${pkgdir}/usr/bin/WiiBaFu"
    cp "${pkgname}-${pkgver}/resources/images/WiiBaFu.png" "${pkgdir}/usr/share/pixmaps/WiiBaFu.png"
    cp "${pkgname}-${pkgver}/resources/WiiBaFu.desktop" "${pkgdir}/usr/share/applications/WiiBaFu.desktop"
}