diff options
author | M0Rf30 | 2019-12-27 05:13:44 +0100 |
---|---|---|
committer | M0Rf30 | 2019-12-27 05:13:44 +0100 |
commit | d8c4f9222ba2bd930f586422f9fdc6112c1f5812 (patch) | |
tree | 1edf16bc0b1cc3dc7e84b9bb3b0af6e8cfc290fa | |
parent | f59aaf8302fbfcbac543ceb347228380395eb499 (diff) | |
download | aur-d8c4f9222ba2bd930f586422f9fdc6112c1f5812.tar.gz |
rts_bpp-dkms-git: updated
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | install | 24 |
3 files changed, 7 insertions, 33 deletions
@@ -1,15 +1,14 @@ pkgbase = rts_bpp-dkms-git pkgdesc = A kernel module for Realtek Card Reader RTL8402/8411/8411B Device - pkgver = 10 + pkgver = 9 pkgrel = 1 url = https://github.com/Ri0n/rts_bpp - install = install arch = any license = GPL makedepends = git depends = dkms options = !strip - source = git+https://github.com/Ri0n/rts_bpp.git + source = git+https://github.com/M0Rf30/rts_bpp.git source = dkms.conf source = 81-udisks-udisks2-rts_bpp.rules md5sums = SKIP @@ -2,7 +2,7 @@ pkgname=rts_bpp-dkms-git _pkgname=rts_bpp -pkgver=10 +pkgver=9 pkgrel=1 pkgdesc="A kernel module for Realtek Card Reader RTL8402/8411/8411B Device" arch=('any') @@ -11,8 +11,7 @@ license=('GPL') depends=('dkms') makedepends=('git') options=(!strip) -install=install -source=(git+https://github.com/Ri0n/rts_bpp.git +source=(git+https://github.com/M0Rf30/rts_bpp.git 'dkms.conf' "81-udisks-udisks2-${_pkgname}.rules") @@ -21,7 +20,7 @@ pkgver() { echo $(git rev-list --count master) } -build() { +prepare() { sed -i "2cPACKAGE_VERSION=$pkgver" dkms.conf } @@ -34,5 +33,5 @@ package() { } md5sums=('SKIP' - '56d2fb0184d7eb17cec3d553b870d185' -'2cb27673c68f68b10199fc6ec9c05a24') + '56d2fb0184d7eb17cec3d553b870d185' + '2cb27673c68f68b10199fc6ec9c05a24') diff --git a/install b/install deleted file mode 100644 index 32f6ad6669ec..000000000000 --- a/install +++ /dev/null @@ -1,24 +0,0 @@ -PKGVER="$(ls /usr/src/ | grep rts_bpp | sed 's/^.*-//')" - -post_install() { - dkms add -m "rts_bpp/${PKGVER}" - dkms build -m "rts_bpp/${PKGVER}" - dkms install -m "rts_bpp/${PKGVER}" - depmod -a -} - -post_upgrade() { - post_install -} - -pre_remove() { - dkms remove -m "rts_bpp/${PKGVER}" --all -} - -pre_upgrade() { - pre_remove -} - -post_remove() { - depmod -a -} |