diff options
author | Sebastian Morr | 2017-01-12 14:25:09 +0100 |
---|---|---|
committer | Sebastian Morr | 2017-01-12 14:25:58 +0100 |
commit | a30a8036f3d8d1d112911b2e592fc0ea0b808440 (patch) | |
tree | 3a86030f1c7396b706ce5b1d8d2088ec5f2068c5 | |
parent | 8e71cfb10e810422ccb8319859681eeb12230418 (diff) | |
download | aur-a30a8036f3d8d1d112911b2e592fc0ea0b808440.tar.gz |
Patch by Vain: Wav path can now be set via make
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | change-default-wav-path.patch | 12 |
3 files changed, 7 insertions, 24 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu Jan 12 13:25:51 UTC 2017 pkgbase = bucklespring-git pkgdesc = Nostalgia bucklespring keyboard sound, sampled from IBM's Model-M - pkgver = 20160815 + pkgver = 20161009 pkgrel = 1 url = http://github.com/zevv/bucklespring arch = i686 @@ -11,9 +13,7 @@ pkgbase = bucklespring-git depends = alure depends = libxtst source = git+https://github.com/zevv/bucklespring - source = change-default-wav-path.patch sha1sums = SKIP - sha1sums = 3658e6878ce662cafbb56aa1497aa102da37d27e pkgname = bucklespring-git @@ -2,7 +2,7 @@ pkgname=bucklespring-git _gitname=bucklespring -pkgver=20160815 +pkgver=20161009 pkgrel=1 pkgdesc="Nostalgia bucklespring keyboard sound, sampled from IBM's Model-M" arch=('i686' 'x86_64') @@ -10,17 +10,12 @@ url="http://github.com/zevv/bucklespring" license=('MIT') depends=('openal' 'alure' 'libxtst') makedepends=('git') -source=('git+https://github.com/zevv/bucklespring' change-default-wav-path.patch) -sha1sums=('SKIP' '3658e6878ce662cafbb56aa1497aa102da37d27e') - -prepare() { - cd "$srcdir/$_gitname" - patch -p1 <../change-default-wav-path.patch -} +source=('git+https://github.com/zevv/bucklespring') +sha1sums=('SKIP') build() { cd "$srcdir/$_gitname" - make + make PATH_AUDIO=/usr/share/bucklespring } package() { diff --git a/change-default-wav-path.patch b/change-default-wav-path.patch deleted file mode 100644 index fe01d1ea2432..000000000000 --- a/change-default-wav-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur bucklespring.pristine/main.c bucklespring.new/main.c ---- bucklespring.pristine/main.c 2016-08-15 15:59:04.955720103 +0200 -+++ bucklespring.new/main.c 2016-08-15 15:59:53.392386416 +0200 -@@ -51,7 +51,7 @@ - static int opt_stereo_width = 50; - static int opt_gain = 100; - static const char *opt_device = NULL; --static const char *opt_path_audio = "./wav"; -+static const char *opt_path_audio = "/usr/share/bucklespring"; - - - int main(int argc, char **argv) |