diff options
author | Frederik “Freso” S. Olesen | 2019-08-06 00:44:30 +0200 |
---|---|---|
committer | Frederik “Freso” S. Olesen | 2019-08-06 00:44:30 +0200 |
commit | 9552a893cb28b0ab824f5144f93ae05f064f67bf (patch) | |
tree | d5cedf7c3ccd7991c31ce017e9a673a520df5449 | |
download | aur-9552a893cb28b0ab824f5144f93ae05f064f67bf.tar.gz |
boxtron 0.5.0-1
Initial PKGBUILD!
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | boxtron.install | 13 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2bfa5f634490 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = boxtron + pkgdesc = Compatibility tool to run DOS games on Steam through native Linux DOSBox – NOTE: Won’t work as intended until next Steam beta cycle! + pkgver = 0.5.0 + pkgrel = 1 + url = https://github.com/dreamer/boxtron + install = boxtron.install + arch = i686 + arch = x86_64 + license = GPL + depends = dosbox + depends = inotify-tools + optdepends = steam: The Steam client + optdepends = timidity++: MIDI support + optdepends = soundfont-fluid: MIDI support + source = boxtron-0.5.0.tar.xz::https://github.com/dreamer/boxtron/releases/download/v0.5.0/boxtron.tar.xz + sha512sums = 054011dda43f5b923026bbb20913d46a752fb42818c27a9447787b03cab01184c16cfb0c4f23e5490c962a32c025b326abd90e2b9d6bc0ebfeed4bf83fda9eb1 + +pkgname = boxtron + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5eb0c5f5f4ab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Frederik “Freso” S. Olesen <freso.dk@gmail.com> +pkgname=boxtron +pkgver=0.5.0 +pkgrel=1 +pkgdesc='Compatibility tool to run DOS games on Steam through native Linux DOSBox – NOTE: Won’t work as intended until next Steam beta cycle!' +arch=('i686' 'x86_64') +url="https://github.com/dreamer/$pkgname" +license=('GPL') +depends=('dosbox' 'inotify-tools') +optdepends=( + 'steam: The Steam client' + 'timidity++: MIDI support' + 'soundfont-fluid: MIDI support') +install=$pkgname.install +source=("$pkgname-$pkgver.tar.xz::$url/releases/download/v$pkgver/$pkgname.tar.xz") +sha512sums=('054011dda43f5b923026bbb20913d46a752fb42818c27a9447787b03cab01184c16cfb0c4f23e5490c962a32c025b326abd90e2b9d6bc0ebfeed4bf83fda9eb1') + +package() { + install -dm755 "$pkgdir"/usr/share/steam/compatibilitytools.d + mv "$pkgname" "$pkgdir"/usr/share/steam/compatibilitytools.d/ +} diff --git a/boxtron.install b/boxtron.install new file mode 100644 index 000000000000..611d4a7c508a --- /dev/null +++ b/boxtron.install @@ -0,0 +1,13 @@ +post_install() { + echo 'NOTE: This Steam compatibility tool will not get picked up properly' + echo 'NOTE: by Steam until the next Steam beta cycle; see' + echo 'NOTE: https://github.com/ValveSoftware/steam-for-linux/issues/6310#issuecomment-511630263' + echo 'NOTE:' + echo 'NOTE: If you want to use this until Steam recognises this natively,' + echo 'NOTE: you can make a symlink like this to have your Steam find it:' + echo 'NOTE: ln -s /usr/share/steam/compatibilitytools.d/boxtron ~/.local/share/Steam/compatibilitytools.d/boxtron' +} + +post_upgrade() { + post_install +} |