summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e32a055c66823ad9532db7274cf32e6fd23a88be (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
# Maintainer: Manos Vlassis <aur@mvlassis.com>
# Maintainer: Quint Guvernator <quint@guvernator.net>

pkgname=bgb
pkgver=1.6.4
pkgrel=1
pkgdesc='Game Boy emulator with advanced debugger'
arch=(x86_64)
url=https://bgb.bircd.org
depends=(wine)
source=("$pkgname-$pkgver.zip::https://bgb.bircd.org/$pkgname$(echo "$pkgver" | tr -d .).zip"
        $pkgname)
noextract=("$pkgname-$pkgver.zip")
md5sums=('69c06f8737cce5618b6ffbbe2f7f07d2'
         '4973920e5084d1640a45bc31dffff797')

prepare() {
    cd "$srcdir"
    mkdir -p "$pkgname-$pkgver"
	bsdtar -xf "$pkgname-$pkgver.zip" -C "$pkgname-$pkgver"
}

package() {
    mkdir -p "$pkgdir/usr/lib"
    cp -r "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/lib/$pkgname"
    install -Dt "$pkgdir/usr/bin" "$srcdir/$pkgname"
}