mirror of https://github.com/archzfs/zfs-dkms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
# Maintainer: Jan Houben <jan@nexttrex.de>
|
|
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
#
|
|
# This PKGBUILD was generated by the archzfs build scripts located at
|
|
#
|
|
# http://github.com/archzfs/archzfs
|
|
#
|
|
pkgname="zfs-dkms"
|
|
pkgdesc="Kernel modules for the Zettabyte File System."
|
|
|
|
pkgver=2.2.2
|
|
pkgrel=2
|
|
makedepends=()
|
|
arch=("x86_64")
|
|
url="https://openzfs.org/"
|
|
source=("https://github.com/openzfs/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz" "linux-6.7-compat.patch")
|
|
sha256sums=("76bc0547d9ba31d4b0142e417aaaf9f969072c3cb3c1a5b10c8738f39ed12fc9" "5afd5ce236dfe0eb96abbe61a61c211623cb4a89c9fbb0be5f9f400a0970719e")
|
|
license=("CDDL")
|
|
depends=("zfs-utils=${pkgver}" "lsb-release" "dkms")
|
|
provides=("zfs" "zfs-headers" "spl" "spl-headers")
|
|
groups=("archzfs-dkms")
|
|
conflicts=("zfs" "zfs-headers" "spl" "spl-headers")
|
|
replaces=("spl-dkms")
|
|
prepare() {
|
|
cd "${srcdir}/zfs-${pkgver}"
|
|
patch -Np1 -i ${srcdir}/linux-6.7-compat.patch
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/zfs-${pkgver}"
|
|
./autogen.sh
|
|
}
|
|
|
|
package() {
|
|
dkmsdir="${pkgdir}/usr/src/zfs-${pkgver}"
|
|
install -d "${dkmsdir}"
|
|
cp -a ${srcdir}/zfs-${pkgver}/. ${dkmsdir}
|
|
cd "${dkmsdir}"
|
|
find . -name ".git*" -print0 | xargs -0 rm -fr --
|
|
scripts/dkms.mkconf -v ${pkgver} -f dkms.conf -n zfs
|
|
}
|
|
|