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.
66 lines
2.2 KiB
66 lines
2.2 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-lts"
|
|
pkgver=0.6.3_3.14.28
|
|
pkgrel=1
|
|
pkgdesc="Kernel module support files for the Zettabyte File System."
|
|
depends=("spl-lts")
|
|
arch=("i686" "x86_64")
|
|
url="http://zfsonlinux.org/"
|
|
source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.3.tar.gz"
|
|
"zfs-utils.bash-completion-r1"
|
|
"zfs-utils.initcpio.install"
|
|
"zfs-utils.initcpio.hook"
|
|
)
|
|
license=("CDDL")
|
|
groups=("archzfs-lts")
|
|
provides=("zfs-utils")
|
|
conflicts=("zfs-utils" "zfs-utils-git")
|
|
|
|
build() {
|
|
cd "${srcdir}/zfs-0.6.3"
|
|
./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-0.6.3 \
|
|
--with-config=user
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/zfs-0.6.3"
|
|
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
|
|
|
|
# Fixup path
|
|
mv "${pkgdir}"/sbin/mount.zfs "${pkgdir}"/usr/bin/
|
|
rm -r "${pkgdir}"/sbin
|
|
|
|
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
|
|
}
|
|
sha256sums=('29bcfdd4161521692d2ca2515ad27a9edd9491c9cb5c6fb1e923d8eed28d391b'
|
|
'b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540'
|
|
'59ff8980457078388c37610e72e428e8c9c383fea69b20bd9845c338239b7678'
|
|
'8605a000f9c96e7d4818b49d885dac651cd7a776bd2f779634fe12c102d60161')
|
|
|