-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
38 lines (35 loc) · 1.04 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Jan Houben <[email protected]>
# 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-git"
_commit='788e69ca5d3807c62f5995fd0c39bda8cbad03a6'
pkgdesc="Kernel modules for the Zettabyte File System."
pkgver=2025.01.17.r9722.g788e69ca5d
pkgrel=1
makedepends=("git")
arch=("x86_64")
url="https://openzfs.org/"
source=("git+https://github.com/openzfs/zfs.git#commit=${_commit}")
sha256sums=("SKIP")
license=("CDDL")
depends=("zfs-utils-git=${pkgver}" "lsb-release" "dkms")
provides=("zfs" "zfs-headers" "spl" "spl-headers")
groups=("archzfs-dkms-git")
conflicts=("zfs" "zfs-headers" "spl" "spl-headers")
replaces=("spl-dkms-git")
build() {
cd "${srcdir}/zfs"
./autogen.sh
}
package() {
dkmsdir="${pkgdir}/usr/src/zfs-git"
install -d "${dkmsdir}"
cp -a ${srcdir}/zfs/. ${dkmsdir}
cd "${dkmsdir}"
find . -name ".git*" -print0 | xargs -0 rm -fr --
scripts/dkms.mkconf -v git -f dkms.conf -n zfs
}