diff options
author | moson-mo | 2021-01-02 11:44:55 +0100 |
---|---|---|
committer | moson-mo | 2021-01-02 11:44:55 +0100 |
commit | f66724d0dbeeca1074393d2a100b32bfd7ab3801 (patch) | |
tree | 68901ad632758d163fe59b9fa67d1f6718aa8067 | |
parent | 093456ca9acc82cd3bb86862805b5d4fa5f24e67 (diff) | |
download | aur-f66724d0dbeeca1074393d2a100b32bfd7ab3801.tar.gz |
Added install script
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | ryzen_smu.install | 7 |
4 files changed, 13 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = ryzen_smu-dkms-git pkgdesc = A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors - pkgver = 107.c0f7746 + pkgver = 110.5033da9 pkgrel = 1 url = https://gitlab.com/leogx9r/ryzen_smu arch = x86_64 diff --git a/.gitignore b/.gitignore index fd5a94e2ef41..33d4f9406edc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ !PKGBUILD !dkms.conf !ryzen_smu.conf -!.SRCINFO
\ No newline at end of file +!.SRCINFO +!ryzen_smu.install
\ No newline at end of file @@ -3,7 +3,7 @@ _pkgbase=ryzen_smu pkgname=ryzen_smu-dkms-git -pkgver=107.c0f7746 +pkgver=110.5033da9 pkgrel=1 pkgdesc="A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors" arch=('x86_64') @@ -12,6 +12,7 @@ license=('GPL2') depends=('dkms') makedepends=('git' 'linux-headers') provides=('ryzen_smu') +install=$_pkgbase.install source=("$_pkgbase::git+$url.git" "dkms.conf" @@ -39,4 +40,4 @@ package() { -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf install -Dm644 ${srcdir}/${_pkgbase}.conf "${pkgdir}"/usr/lib/depmod.d/${_pkgbase}.conf -} +}
\ No newline at end of file diff --git a/ryzen_smu.install b/ryzen_smu.install new file mode 100644 index 000000000000..29dcff19237d --- /dev/null +++ b/ryzen_smu.install @@ -0,0 +1,7 @@ +post_install() { + echo -e "\nReboot or load module with 'modprobe ryzen_smu'\n" +} + +post_upgrade() { + post_install +}
\ No newline at end of file |