Browse Source

initial commit

master
Alison Watson 2 years ago
commit
19b0e3476e
2 changed files with 64 additions and 0 deletions
  1. +24
    -0
      .SRCINFO
  2. +40
    -0
      PKGBUILD

+ 24
- 0
.SRCINFO View File

@@ -0,0 +1,24 @@
pkgbase = bsnes-plus-git
pkgdesc = A debug-oriented fork of bsnes v073
pkgver = 0.73r525.b95f6bc
pkgrel = 1
url = https://github.com/devinacker/bsnes-plus
arch = x86_64
license = GPL3
makedepends = mesa
makedepends = gcc
makedepends = git
depends = libao
depends = libpulse
depends = openal
depends = qt5-base
depends = sdl
provides = bsnes-plus
conflicts = bsnes-plus
conflicts = bsnes-classic
conflicts = bsnes-plus-git
source = git+https://github.com/devinacker/bsnes-plus.git
sha256sums = SKIP

pkgname = bsnes-plus-git


+ 40
- 0
PKGBUILD View File

@@ -0,0 +1,40 @@
# 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}"
make profile="debugger"
done
}

package() {
cd "${srcdir}/${_pkgname}"

for proj in ${_projects}
do
cd "${srcdir}/${_pkgname}/${proj}"
make install DESTDIR="${pkgdir}"
done
}

Loading…
Cancel
Save