summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authore5ten2018-10-17 09:21:02 -0400
committere5ten2018-10-17 09:21:02 -0400
commitbb49f195bfa730e4bb61e70ca6efa399294e0faf (patch)
tree619b1af6fb2de915a0ae70a4d97ff4a83079e8ae
parenta72f7503a56526d5e0d6878f27f74bcc16c91930 (diff)
downloadaur-bb49f195bfa730e4bb61e70ca6efa399294e0faf.tar.gz
fix use of pkgname in PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b40d403d58de..14a3266604c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bbswitch-lts
pkgdesc = Kernel module allowing to switch dedicated graphics card on Optimus laptops
pkgver = 0.8
- pkgrel = 44
+ pkgrel = 45
url = http://github.com/Bumblebee-Project/bbswitch
install = bbswitch-lts.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2ab310ddde26..d3df177de9ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=bbswitch-lts
_basename=bbswitch
pkgver=0.8
_extramodules=extramodules-4.14-lts # Don't forget to update bbswitch-lts.install
-pkgrel=44
+pkgrel=45
pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('x86_64')
url="http://github.com/Bumblebee-Project/bbswitch"
@@ -25,7 +25,7 @@ build() {
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${_basename}-${pkgver}
install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 *.ko
find "${pkgdir}" -name '*.ko' -exec xz {} +
}