# Maintainer: Jesus Alvarez # Contributor: Kyle Fuller # # 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="spl-utils-lts" pkgver=0.6.4.1_3.14.44_1 pkgrel=1 pkgdesc="Solaris Porting Layer kernel module support files." arch=("i686" "x86_64") url="http://zfsonlinux.org/" source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/spl/spl-0.6.4.1.tar.gz" "spl-utils.hostid") groups=("archzfs-lts") license=("GPL") provides=("spl-utils") conflicts=("spl-utils" "spl-utils-git") build() { cd "${srcdir}/spl-0.6.4.1" ./autogen.sh _at_enable="" [ "${CARCH}" == "i686" ] && _at_enable="--enable-atomic-spinlocks" ./configure --prefix=/usr \ --libdir=/usr/lib \ --sbindir=/usr/bin \ --with-config=user \ ${_at_enable} make } package() { cd "${srcdir}/spl-0.6.4.1" make DESTDIR="${pkgdir}" install install -D -m644 "${srcdir}"/spl-utils.hostid "${pkgdir}"/etc/hostid } sha256sums=('a177a6b988dc4358ca0df785c0fb120c4cfd48154822f4a8912f50b9a8d74ca7' 'ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e')