summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEli Schwartz2019-05-26 20:29:28 -0400
committerEli Schwartz2019-05-26 20:29:28 -0400
commit1c48d9f45587b33d6c3ea7e41a1c35b4048cdd78 (patch)
tree176f2c688cd21dd93e6c477a66679ac326e3f624 /PKGBUILD
parent1ba845d39406f54598f00b666d7cda2ecfd9b86b (diff)
downloadaur-1c48d9f45587b33d6c3ea7e41a1c35b4048cdd78.tar.gz
upgpkg: zfs-dkms 0.8.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21c4fd5e82a..a884c718676 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,26 @@
# Contributor: Iacopo Isimbaldi <isiachi@rhye.it>
pkgname=zfs-dkms
-pkgver=0.7.13
+pkgver=0.8.0
pkgrel=1
pkgdesc="Kernel modules for the Zettabyte File System."
arch=('any')
url="https://zfsonlinux.org/"
license=('CDDL')
makedepends=('git')
-provides=("${pkgname%-dkms}")
-source=("git+https://github.com/zfsonlinux/zfs.git#tag=zfs-${pkgver}?signed"
+conflicts=('spl-dkms')
+provides=("${pkgname%-dkms}" 'spl-dkms')
+replaces=('spl-dkms')
+source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz"{,.asc}
"0001-only-build-the-module-in-dkms.conf.patch")
-sha256sums=('SKIP'
+sha256sums=('0fd92e87f4b9df9686f18e2ac707c16b2eeaf00f682d41c20ea519f3a0fe4705'
+ 'SKIP'
'780e590383fb00389c5e02ac15709b7a476d9e07d3c4935ed9eb67c951a88409')
validpgpkeys=('4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027' # Tony Hutter (GPG key for signing ZFS releases) <hutter2@llnl.gov>
'C33DF142657ED1F7C328A2960AB9E991C6AF658B') # Brian Behlendorf <behlendorf1@llnl.gov>
prepare() {
- cd "${srcdir}"/${pkgname%-dkms}
+ cd "${srcdir}"/${pkgname%-dkms}-${pkgver}
patch -p1 -i ../0001-only-build-the-module-in-dkms.conf.patch
@@ -32,16 +35,20 @@ prepare() {
autoreconf -fi
}
+build() {
+ cd "${srcdir}"/${pkgname%-dkms}-${pkgver}
+
+ ./scripts/dkms.mkconf -n ${pkgname%-dkms} -v ${pkgver} -f dkms.conf
+}
+
package() {
- depends=("spl-dkms=${pkgver}" "zfs-utils=${pkgver}" 'dkms')
+ depends=("zfs-utils=${pkgver}" 'dkms')
- cd "${srcdir}"/${pkgname%-dkms}
+ cd "${srcdir}"/${pkgname%-dkms}-${pkgver}
dkmsdir="${pkgdir}/usr/src/${pkgname%-dkms}-${pkgver}"
install -d "${dkmsdir}"/{config,scripts}
- cp -a configure Makefile.in META ${pkgname%-dkms}_config.h.in ${pkgname%-dkms}.release.in include/ module/ "${dkmsdir}"/
+ cp -a configure dkms.conf Makefile.in META ${pkgname%-dkms}_config.h.in ${pkgname%-dkms}.release.in include/ module/ "${dkmsdir}"/
cp config/config.* config/missing config/*sh "${dkmsdir}"/config/
cp scripts/enum-extract.pl scripts/dkms.postbuild "${dkmsdir}"/scripts/
-
- ./scripts/dkms.mkconf -n ${pkgname%-dkms} -v ${pkgver} -f "${dkmsdir}"/dkms.conf
}