mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-06 07:37:23 +02:00
Semi-automated update for kernel 5.6.11.arch1-1 + zfs 0.8.3
This commit is contained in:
parent
ab7564af17
commit
d44b803376
2
.SRCINFO
2
.SRCINFO
@ -1,6 +1,6 @@
|
||||
pkgbase = zfs-linux
|
||||
pkgver = 0.8.3_5.6.11.arch1.1
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://zfsonlinux.org/
|
||||
arch = x86_64
|
||||
license = CDDL
|
||||
|
10
PKGBUILD
10
PKGBUILD
@ -22,7 +22,7 @@ _kernelver="5.6.11.arch1-1"
|
||||
_extramodules="${_kernelver/.arch/-arch}"
|
||||
|
||||
pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
makedepends=("linux-headers=${_kernelver}")
|
||||
arch=("x86_64")
|
||||
url="https://zfsonlinux.org/"
|
||||
@ -53,8 +53,8 @@ build() {
|
||||
cd "${srcdir}/zfs-${_zfsver}"
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
|
||||
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \
|
||||
--libexecdir=/usr/lib/zfs-${_zfsver} --with-config=kernel \
|
||||
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/usr/lib/udev \
|
||||
--libexecdir=/usr/lib --with-config=kernel \
|
||||
--with-linux=/usr/lib/modules/${_extramodules}/build \
|
||||
--with-linux-obj=/usr/lib/modules/${_extramodules}/build
|
||||
make
|
||||
@ -68,9 +68,7 @@ package_zfs-linux() {
|
||||
conflicts=("zfs-dkms" "zfs-dkms-git" "zfs-dkms-rc" "spl-dkms" "spl-dkms-git" 'zfs-linux-git' 'zfs-linux-rc' 'spl-linux')
|
||||
replaces=("spl-linux")
|
||||
cd "${srcdir}/zfs-${_zfsver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
cp -r "${pkgdir}"/{lib,usr}
|
||||
rm -r "${pkgdir}"/lib
|
||||
make DESTDIR="${pkgdir}" INSTALL_MOD_PATH=/usr install
|
||||
# Remove src dir
|
||||
rm -r "${pkgdir}"/usr/src
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user