Skip to content

Instantly share code, notes, and snippets.

@vain

vain/PKGBUILD Secret

Created October 31, 2016 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vain/1e6dfbb1a3d684d00a3957491c30da7f to your computer and use it in GitHub Desktop.
Save vain/1e6dfbb1a3d684d00a3957491c30da7f to your computer and use it in GitHub Desktop.
PKGBUILD for bucklespring without the need for a patch
# Maintainer: Sebastian Morr <sebastian@morr.cc>
pkgname=bucklespring-git
_gitname=bucklespring
pkgver=20161009
pkgrel=1
pkgdesc="Nostalgia bucklespring keyboard sound, sampled from IBM's Model-M"
arch=('i686' 'x86_64')
url="http://github.com/zevv/bucklespring"
license=('MIT')
depends=('openal' 'alure' 'libxtst')
makedepends=('git')
source=('git+https://github.com/zevv/bucklespring')
sha1sums=('SKIP')
build() {
cd "$srcdir/$_gitname"
make PATH_AUDIO=/usr/share/bucklespring
}
package() {
cd "$srcdir/$_gitname"
install -Dm755 buckle "$pkgdir"/usr/bin/buckle
install -Dm644 -t "$pkgdir"/usr/share/bucklespring/ wav/*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment