summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
-rw-r--r--change-default-wav-path.patch12
3 files changed, 7 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 056b651c796b..074b562f048b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 44e2e2632df6..9dac7216dc1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)