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.
38 lines
1.1 KiB
38 lines
1.1 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.0.5
|
|
pkgrel=1
|
|
makedepends=()
|
|
arch=("x86_64")
|
|
url="https://zfsonlinux.org/"
|
|
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz")
|
|
sha256sums=("3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9")
|
|
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")
|
|
|
|
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
|
|
chmod g-w,o-w -R .
|
|
}
|
|
|