mirror of https://github.com/archzfs/archzfs
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.
63 lines
1.9 KiB
63 lines
1.9 KiB
# Maintainer: Jesus Alvarez <jeezusjr at gmail dot com>
|
|
# Contributor: Kyle Fuller <inbox at kylefuller dot co dot uk>
|
|
#
|
|
# This PKGBUILD was generated by the archzfs build scripts located at
|
|
#
|
|
# http://github.com/demizer/archzfs
|
|
#
|
|
# The build script generates and updates the pkgver and _kernel* variables.
|
|
#
|
|
pkgname="zfs-utils-git"
|
|
pkgver=0.6.4.1_r0_g7065e2d_4.0.4_2
|
|
pkgrel=1
|
|
license=('CDDL')
|
|
pkgdesc="Kernel module support files for the Zettabyte File System."
|
|
depends=("spl-git")
|
|
makedepends=("git")
|
|
arch=("i686" "x86_64")
|
|
url="http://zfsonlinux.org/"
|
|
source=("git+https://github.com/zfsonlinux/zfs.git#commit=7065e2da"
|
|
"zfs-utils.bash-completion-r1"
|
|
"zfs-utils.initcpio.install"
|
|
"zfs-utils.initcpio.hook")
|
|
groups=("archzfs-git")
|
|
md5sums=('SKIP'
|
|
'9ddb0c8a94861f929d0fa741fdc49950'
|
|
'9ef4841abb85dee611828cc7e6f5c6fe'
|
|
'62ba32c6853c315ff231c396cf8bfdbb')
|
|
replaces=("zfs-utils")
|
|
provides=("zfs-utils")
|
|
conflicts=("zfs-utils" "zfs-utils-lts")
|
|
|
|
build() {
|
|
cd "${srcdir}/zfs"
|
|
./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 \
|
|
--with-config=user
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/zfs"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# Remove uneeded files
|
|
rm -r "${pkgdir}"/etc/init.d
|
|
rm -r "${pkgdir}"/usr/lib/dracut
|
|
|
|
# move module tree /lib -> /usr/lib
|
|
cp -r "${pkgdir}"/{lib,usr}
|
|
rm -r "${pkgdir}"/lib
|
|
|
|
install -D -m644 "${srcdir}"/zfs-utils.initcpio.hook "${pkgdir}"/usr/lib/initcpio/hooks/zfs
|
|
install -D -m644 "${srcdir}"/zfs-utils.initcpio.install "${pkgdir}"/usr/lib/initcpio/install/zfs
|
|
install -D -m644 "${srcdir}"/zfs-utils.bash-completion-r1 "${pkgdir}"/usr/share/bash-completion/completions/zfs
|
|
}
|
|
|