summaryrefslogtreecommitdiff
path: root/community/oss/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-30 23:15:09 +0000
committerroot <root@rshg054.dnsready.net>2011-11-30 23:15:09 +0000
commitfd115d7057eb8243df6edfaf1ed440d6f3e70692 (patch)
tree0a32bcfa47c11eb3e1127b1de196fb6385ed8723 /community/oss/PKGBUILD
parent946f0c9fe48dfb648a8a0be065e92f237ce210fd (diff)
Wed Nov 30 23:15:09 UTC 2011
Diffstat (limited to 'community/oss/PKGBUILD')
-rw-r--r--community/oss/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/oss/PKGBUILD b/community/oss/PKGBUILD
index cb9e8432e..076e17329 100644
--- a/community/oss/PKGBUILD
+++ b/community/oss/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 54037 2011-08-12 13:13:29Z bluewind $
+# $Id: PKGBUILD 59729 2011-11-29 20:14:19Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=oss
pkgver=4.2_2005
-pkgrel=1
+pkgrel=2
pkgdesc="Open Sound System UNIX audio architecture"
arch=('i686' 'x86_64')
url="http://developer.opensound.com/"
@@ -65,6 +65,10 @@ build() {
# remove hal dependency
patch -p0 -i "${srcdir}/remove-hal.patch"
rm -rf usr/lib/oss/scripts/oss_usb-create-devices usr/lib/oss/scripts/90-oss_usb-create-device.fdi
+
+ sed -i 's#/lib/modules/$KERNEL_VERSION/kernel/#/lib/modules/$KERNEL_VERSION/extramodules/kernel/#g' usr/sbin/soundon
+ sed -i 's#/lib/modules/$UNAME/kernel/#/lib/modules/$UNAME/extramodules/kernel/#g' usr/lib/oss/build/install.sh
+ sed -i 's#mkdir /lib/modules#mkdir -p /lib/modules#' usr/lib/oss/build/install.sh
}
package() {