[arch-commits] Commit in ozerocdoff/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue May 28 14:09:43 EDT 2013


    Date: Tuesday, May 28, 2013 @ 20:09:43
  Author: spupykin
Revision: 91883

upgpkg: ozerocdoff 2-8

upd

Modified:
  ozerocdoff/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-28 18:09:11 UTC (rev 91882)
+++ PKGBUILD	2013-05-28 18:09:43 UTC (rev 91883)
@@ -3,7 +3,7 @@
 
 pkgname=ozerocdoff
 pkgver=2
-pkgrel=7
+pkgrel=8
 pkgdesc="Userspace driver for Option High Speed Mobile Devices"
 arch=('i686' 'x86_64')
 url="http://www.pharscape.org/ozerocdoff.html"
@@ -15,10 +15,15 @@
 md5sums=('88a78f9380d9591f8d20a657b72e3e5c'
          '28ed1afd16fdec92de3baf66b32b0b12')
 
+prepare() {
+  cd "${srcdir}/udev"
+  patch -p1 <$srcdir/remove-old-rules.patch
+  sed -i 's|usr/sbin|usr/bin|g' Makefile
+}
+
 build() {
   cd "${srcdir}/udev"
   make clean
-  patch -p1 <$srcdir/remove-old-rules.patch
   make
 }
 



More information about the arch-commits mailing list