summaryrefslogtreecommitdiff
path: root/libre/vhba-module
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-03-10 19:40:19 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-03-10 19:40:19 +0100
commit7c1ac67b9996f812aea74565f34230d979fe0ea9 (patch)
treeb849c2baba655b6bfca1ec8b0a23d3a4e7b843f6 /libre/vhba-module
parent7adfa7caad7252fcb71b843e72f67da911ab3724 (diff)
downloadabslibre-7c1ac67b9996f812aea74565f34230d979fe0ea9.tar.gz
abslibre-7c1ac67b9996f812aea74565f34230d979fe0ea9.tar.bz2
abslibre-7c1ac67b9996f812aea74565f34230d979fe0ea9.zip
libre/vhba-module: updated to 20190302
Diffstat (limited to 'libre/vhba-module')
-rw-r--r--libre/vhba-module/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/libre/vhba-module/PKGBUILD b/libre/vhba-module/PKGBUILD
index cda1ed2a2..435a1cebf 100644
--- a/libre/vhba-module/PKGBUILD
+++ b/libre/vhba-module/PKGBUILD
@@ -5,30 +5,25 @@
# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=4.20
+_basekernel="$(pacman -Sp --print-format '%v' linux-libre)"
pkgbase=vhba-module
pkgname=(vhba-module vhba-module-dkms)
-pkgver=20170610
-pkgrel=136
-pkgrel+=.parabola1.basekernel${_basekernel}
+pkgver=20190302
+pkgrel=3
+pkgrel+=.parabola1.basekernel${_basekernel%_*}
pkgdesc="Kernel module that emulates SCSI devices"
pkgdesc+=" (built for the linux-libre kernel package)"
url="http://cdemu.sourceforge.net/"
arch=(x86_64)
arch+=(i686 armv7h)
license=(GPL)
-
-# Generic (you shouldn't have to modify any of these variables)
-_toohigh=$(IFS=. read a b <<<$_basekernel; echo $a.$((b+1)))
-depends=("linux-libre>=${_basekernel}" "linux-libre<${_toohigh}")
-makedepends=("linux-libre-headers>=${_basekernel}" "linux-libre-headers<${_toohigh}" "linux-libre>=${_basekernel}" "linux-libre<${_toohigh}")
-makedepends+=('libelf')
-
+depends=(linux-libre=${_basekernel%-*})
+makedepends=(linux-libre-headers=${_basekernel%-*} git libelf)
_extramodules=extramodules
source=("https://downloads.sourceforge.net/cdemu/$pkgbase-$pkgver.tar.bz2"
60-vhba.rules dkms.conf)
-sha256sums=('7970c93f989d9c4f2629371bf5ee7a76f95e4c12342c3320ddc528d0df02d9ec'
+sha256sums=('c50656214a0c70301e81fe7f7df4b2a297022b6c00be90d4ff0c456200eb7d73'
'3052cb1cadbdf4bfb0b588bb8ed80691940d8dd63dc5502943d597eaf9f40c3b'
'8cab0ebb4fee72069d63616b0983f105b98d1261e72e9bef5509a6e60bc382a7')