Created
January 14, 2017 12:23
-
-
Save mibli/792013c3c69f8a709d2aea5c17fa799a to your computer and use it in GitHub Desktop.
Patch for PKGBUILD for AUR package nvidiabl from 2016-12-09 10:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- nvidiabl.unp/nvidiabl/PKGBUILD 2016-12-09 11:32:46.000000000 +0100 | |
+++ nvidiabl/PKGBUILD 2017-01-14 13:18:04.928817417 +0100 | |
@@ -27,16 +27,16 @@ | |
} | |
build() { | |
- cd $pkgnmame-master | |
+ cd $pkgname-master | |
make | |
} | |
package() { | |
- cd pkgnmame-master | |
+ cd $pkgname-master | |
_extramodules="extramodules-$(uname -r | cut -f-2 -d'.')-$(uname -r|sed -e 's/.*-//g')" | |
_MODPATH="$pkgdir/usr/lib/modules/$_extramodules/" | |
install -d "$_MODPATH" | |
- install -d "$pkgdi}/usr/bin/" | |
- install -m 644 "$pkgnmame-master/$pkgnmame.ko" "$_MODPATH" | |
- install -m 755 scripts/usr/local/sbin/${pkgnmame}ctl "$pkgdir/usr/bin/" | |
+ install -d "$pkgdir/usr/bin/" | |
+ install -m 644 "$pkgname.ko" "$_MODPATH" | |
+ install -m 755 scripts/usr/local/sbin/${pkgname}ctl "$pkgdir/usr/bin/" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just apply the patch to PKGBUILD file.