bsnes-plus-git/PKGBUILD

41 lines
905 B
Bash
Raw Permalink Normal View History

2019-08-18 20:48:32 -07:00
# Maintainer: Alison Watson <marrub@greyserv.net>
_pkgname=bsnes-plus
pkgname=${_pkgname}-git
pkgver=0.73r525.b95f6bc
pkgrel=1
pkgdesc='A debug-oriented fork of bsnes v073'
arch=('x86_64')
url="https://github.com/devinacker/${_pkgname}"
license=('GPL3')
depends=('libao' 'libpulse' 'openal' 'qt5-base' 'sdl')
makedepends=('mesa' 'gcc' 'git')
source=("git+${url}.git")
sha256sums=('SKIP')
conflicts=('bsnes-plus' 'bsnes-classic' 'bsnes-plus-git')
provides=('bsnes-plus')
_projects=(bsnes snesfilter snesmusic snesreader supergameboy)
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "0.73r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
for proj in ${_projects}
do
cd "${srcdir}/${_pkgname}/${proj}"
2019-10-22 12:15:26 -07:00
make
2019-08-18 20:48:32 -07:00
done
}
package() {
cd "${srcdir}/${_pkgname}"
for proj in ${_projects}
do
cd "${srcdir}/${_pkgname}/${proj}"
make install DESTDIR="${pkgdir}"
done
}