summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIacopo Isimbaldi2016-09-17 18:05:08 +0100
committerIacopo Isimbaldi2016-09-17 18:05:08 +0100
commit5299d45e70ee4dbd4b2b19d3cb221a4f04e5b6fa (patch)
tree75c30f4af67e7247b544eaa7721ca385942d3d75 /PKGBUILD
parentc471ba939425d65512130d615c5dbe9b58907369 (diff)
downloadaur-5299d45e70ee4dbd4b2b19d3cb221a4f04e5b6fa.tar.gz
Updated to pkgver 0.6.5.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 897eaca4c1a..185d4982cf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase="zfs-dkms"
pkgname=("zfs-dkms" "zfs-utils")
-pkgver=0.6.5.7
+pkgver=0.6.5.8
pkgrel=1
license=('CDDL')
makedepends=("git" "spl-dkms=${pkgver}")
@@ -30,7 +30,7 @@ build() {
--libdir=/usr/lib \
--datadir=/usr/share \
--includedir=/usr/include \
- --with-udevdir=/lib/udev \
+ --with-udevdir=/usr/lib/udev \
--libexecdir=/usr/lib/zfs \
--with-config=user
make
@@ -47,7 +47,8 @@ package_zfs-dkms() {
cp -a ${srcdir}/zfs/. ${dkmsdir}
cd "${dkmsdir}"
- make clean distclean
+ make clean
+ make distclean
find . -name ".git*" -print0 | xargs -0 rm -fr --
scripts/dkms.mkconf -v ${pkgver} -f dkms.conf -n zfs
chmod g-w,o-w -R .
@@ -65,10 +66,6 @@ package_zfs-utils() {
rm -r "${pkgdir}"/usr/lib/dracut
rm -r "${pkgdir}"/usr/share/initramfs-tools
- # move module tree /lib -> /usr/lib
- cp -r "${pkgdir}"/{lib,usr}
- rm -r "${pkgdir}"/lib
-
install -D -m644 "${srcdir}"/zfs.initcpio.hook "${pkgdir}"/usr/lib/initcpio/hooks/zfs
install -D -m644 "${srcdir}"/zfs.initcpio.install "${pkgdir}"/usr/lib/initcpio/install/zfs
install -D -m644 "${srcdir}"/zfs.bash-completion-r1 "${pkgdir}"/usr/share/bash-completion/completions/zfs