Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch for PKGBUILD for AUR package nvidiabl from 2016-12-09 10:32
--- 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/"
}
@mibli

This comment has been minimized.

Copy link
Owner Author

mibli commented Jan 14, 2017

Just apply the patch to PKGBUILD file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.