Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8bdad0351740da1e8ba70144dcf50bbd87b171a9

commit 8bdad0351740da1e8ba70144dcf50bbd87b171a9
Author: exceed <exceed.ced...@gmail.com>
Date:   Mon Jul 20 00:12:05 2009 +0000

vkeybd-0.1.18c-1-i686

* Version bump
* Change source
* Fix up2date
* Remove vkeybd_makefile.patch and modify build

diff --git a/source/xmultimedia-extra/vkeybd/FrugalBuild 
b/source/xmultimedia-extra/vkeybd/FrugalBuild
index 28f61f3..b1eee9a 100644
--- a/source/xmultimedia-extra/vkeybd/FrugalBuild
+++ b/source/xmultimedia-extra/vkeybd/FrugalBuild
@@ -3,22 +3,23 @@

pkgname=vkeybd
_F_cd_path=$pkgname
-pkgver=0.1.18
+pkgver=0.1.18c
pkgrel=1
pkgdesc="A virtual MIDI keyboard"
url="http://www.alsa-project.org/~tiwai/alsa.html#vkeybd";
depends=('tk' 'jack')
groups=('xmultimedia-extra')
archs=('i686' 'x86_64')
-up2date="Flasttar http://www.gtlib.gatech.edu/pub/suse/people/tiwai/vkeybd/";
-source=(http://www.gtlib.gatech.edu/pub/suse/people/tiwai/vkeybd/${pkgname}-${pkgver}.tar.bz2
 vkeybd_makefile.patch)
-sha1sums=('22463c0b5581768326d6c0e7b585e89a6ffbfcf4' \
-          '4cf2dcc3a58b27b19cff3a86f23f03550c497c79')
+up2date="lynx -dump http://ftp.suse.com/pub/people/tiwai/${pkgname}/ | \
+       tail -n1 | \
+       sed 's/.*${pkgname}\(.*\).tar.bz2.*/\1/;s/-/_/g;s/_//1'"
+
+source=(http://ftp.suse.com/pub/people/tiwai/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('3fa9c2b81a7659a20b4d25714db68169392d8692')
build()
{
-       #Fconf
-       #make PREFIX=/usr USE_AWE=0 TCL_VERSION=8.5 || Fdie
-       #Fmakeinstall
-       PREFIX=/usr USE_AWE=0 TCL_VERSION=8.5 || Fdie
+       Fsed 'PREFIX = /usr/local' 'PREFIX = /usr' Makefile
+       Fsed 'TCL_VERSION = 8.4' 'TCL_VERSION = 8.5' Makefile
+       PREFIX=/usr USE_AWE=0 TCL_VERSION=8.5 || Fdie
Fbuild
}
diff --git a/source/xmultimedia-extra/vkeybd/vkeybd_makefile.patch 
b/source/xmultimedia-extra/vkeybd/vkeybd_makefile.patch
deleted file mode 100644
index c7ff41c..0000000
--- a/source/xmultimedia-extra/vkeybd/vkeybd_makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- vkeybd/Makefile.old        2009-05-14 18:20:38.000000000 +0000
-+++ vkeybd/Makefile    2009-05-14 22:58:39.000000000 +0000
-@@ -8,7 +8,7 @@
- #
- # installation directory
- #
--PREFIX = /usr/local
-+PREFIX = /usr
- # binary and Tcl script are put there
- BIN_DIR = $(PREFIX)/bin
- # man page
-@@ -27,7 +27,7 @@
- # device selections -- multiple avaialble
- # to disable the device, set value 0 (do not comment out!)
- #
--USE_AWE = 1
-+USE_AWE = 0
- USE_MIDI = 1
- USE_ALSA = 1
- USE_LADCCA = 0
-@@ -35,7 +35,7 @@
- #
- # Tcl/Tk library -- depends on your distribution
- #
--TCL_VERSION = 8.4
-+TCL_VERSION = 8.5
- TCLLIB = -ltcl$(TCL_VERSION)
- TCLINC =
- TKLIB = -ltk$(TCL_VERSION)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to