summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJSH2016-02-24 22:23:45 -0500
committerJSH2016-02-24 22:23:45 -0500
commit41e1637009f76d920e574e93efeaf4d050aaa070 (patch)
tree6d06b84e4f99aeaa858cac23e54625c6c7aa636d
parentf94c073422d255c0383f55d468920c8acd57603a (diff)
downloadaur-41e1637009f76d920e574e93efeaf4d050aaa070.tar.gz
Remove install scriptlet (DKMS package now uses alpm hooks)
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
-rw-r--r--r8101-dkms.install28
3 files changed, 6 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4ae8b08a822..9a44f1e6b65a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Feb 25 03:20:15 UTC 2016
pkgbase = r8101-dkms
pkgdesc = r8101 realtek lan drivers (DKMS)
pkgver = 1.027.00
- pkgrel = 2
+ pkgrel = 3
url = http://realtek.com.tw/
- install = r8101-dkms.install
arch = i686
arch = x86_64
license = GPL2
- depends = dkms
+ depends = dkms>=2.2.0.3+git151023-5
optdepends = ethtool: device configuration
provides = r8101
conflicts = r8101
diff --git a/PKGBUILD b/PKGBUILD
index 4a3a52ce5323..d3e3227f48d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,15 @@
_pkgbase=r8101
pkgname=r8101-dkms
pkgver=1.027.00
-pkgrel=2
+pkgrel=3
pkgdesc="r8101 realtek lan drivers (DKMS)"
arch=('i686' 'x86_64')
url="http://realtek.com.tw/"
license=('GPL2')
-depends=('dkms')
+depends=('dkms>=2.2.0.3+git151023-5')
optdepends=('ethtool: device configuration')
provides=("${_pkgbase}")
conflicts=("${_pkgbase}")
-install=${pkgname}.install
source=("http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0002-${_pkgbase}-${pkgver}.tar.bz2"
'dkms.conf')
diff --git a/r8101-dkms.install b/r8101-dkms.install
deleted file mode 100644
index 6e6cac26294e..000000000000
--- a/r8101-dkms.install
+++ /dev/null
@@ -1,28 +0,0 @@
-# arg 1: the new package version
-post_install() {
- dkms add r8101/${1%-*}
- cat << EOF
-==> To build and install your modules run: dkms install r8101/${1%-*}
-==> To do this automatically at startup run: systemctl enable dkms.service
-EOF
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- pre_remove "$2"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install "$1"
-}
-
-# arg 1: the old package version
-pre_remove() {
- # Remove modules using dkms
- [ -n "${1%-*}" ] && dkms remove r8101/${1%-*} --all &>/dev/null || true
-}
-
-# vim:set ts=2 sw=2 ft=sh et: \ No newline at end of file