summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hinshaw2018-07-06 01:02:58 -0400
committerCorey Hinshaw2018-07-06 01:02:58 -0400
commit178163f8ed536f77fe0883d81449a4f449503cb5 (patch)
tree92992d8d7f5d51fbad28eaccaca4980571fffdfb
parent811f2e57c1879290ffa0e67e66db09d8a853b348 (diff)
downloadaur-178163f8ed536f77fe0883d81449a4f449503cb5.tar.gz
Use configuration file from srcdir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eb83915306ca..51c6254c1d0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = system76-dkms
pkgdesc = This DKMS driver provides airplane mode, keyboard backlight, and fan support for System76 laptops
pkgver = 0.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/pop-os/system76-dkms
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 1d5e48080102..0bdf1a9287df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=system76-dkms
_pkgname=system76
pkgver=0.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="This DKMS driver provides airplane mode, keyboard backlight, and fan support for System76 laptops"
arch=('x86_64')
url="https://github.com/pop-os/system76-dkms"
@@ -19,9 +19,6 @@ package() {
# Installation directory
local install_dir="${pkgdir}/usr/src/${_pkgname}-${pkgver}"
- # Load the module at boot
- install -Dm644 system76.conf ${pkgdir}/etc/modules-load.d/system76.conf
-
cd "${srcdir}/${pkgname}-${pkgver}"
# Install source files
@@ -32,4 +29,7 @@ package() {
# Edit and install dkms configuration
sed "s/#MODULE_VERSION#/${pkgver}/" "debian/system76-dkms.dkms" > "${install_dir}/dkms.conf"
+
+ # Load the module at boot
+ install -Dm644 ${srcdir}/system76.conf ${pkgdir}/etc/modules-load.d/system76.conf
}