|
|
|
@ -12,16 +12,15 @@ pkgver=0.6.2_r258_g4fd762f_3.14.1_1 |
|
|
|
|
pkgrel=1 |
|
|
|
|
pkgdesc="Kernel module support files for the Zettabyte File System." |
|
|
|
|
depends=("spl-git") |
|
|
|
|
makedepends=("git") |
|
|
|
|
arch=("i686" "x86_64") |
|
|
|
|
url="http://zfsonlinux.org/" |
|
|
|
|
source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.2.tar.gz" |
|
|
|
|
"http://demizerone.com/patches/zfs-0.6.2-r258-g4fd762f.patch.tar.xz" |
|
|
|
|
source=("git+https://github.com/zfsonlinux/zfs.git#commit=4444111" |
|
|
|
|
"zfs-utils.bash-completion-r1" |
|
|
|
|
"zfs-utils.initcpio.install" |
|
|
|
|
"zfs-utils.initcpio.hook") |
|
|
|
|
groups=("archzfs-git") |
|
|
|
|
md5sums=('0b183b0abdd5be287046ad9ce4f899fd' |
|
|
|
|
'577cc119618ad580d87b470463c1ef55' |
|
|
|
|
'9ddb0c8a94861f929d0fa741fdc49950' |
|
|
|
|
'ebea2b1e593a9a19efa0f7ae7451bbc7' |
|
|
|
|
'b567a95a34759f196bf4be8061a895e5') |
|
|
|
@ -30,15 +29,8 @@ replaces=("zfs-utils") |
|
|
|
|
provides=("zfs-utils") |
|
|
|
|
conflicts=("zfs-utils" "zfs-utils-lts") |
|
|
|
|
|
|
|
|
|
prepare() { |
|
|
|
|
cd "${srcdir}" |
|
|
|
|
tar --xz -xf zfs-0.6.2-r258-g4fd762f.patch.tar.xz |
|
|
|
|
cd "${srcdir}/zfs-0.6.2" |
|
|
|
|
patch -Np1 < ../zfs-0.6.2-r258-g4fd762f.patch |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
build() { |
|
|
|
|
cd "${srcdir}/zfs-0.6.2" |
|
|
|
|
cd "${srcdir}/zfs" |
|
|
|
|
./autogen.sh |
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \ |
|
|
|
@ -48,13 +40,13 @@ build() { |
|
|
|
|
--datadir=/usr/share \ |
|
|
|
|
--includedir=/usr/include \ |
|
|
|
|
--with-udevdir=/lib/udev \ |
|
|
|
|
--libexecdir=/usr/lib/zfs-0.6.2 \ |
|
|
|
|
--libexecdir=/usr/lib/zfs \ |
|
|
|
|
--with-config=user |
|
|
|
|
make |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
package() { |
|
|
|
|
cd "${srcdir}/zfs-0.6.2" |
|
|
|
|
cd "${srcdir}/zfs" |
|
|
|
|
make DESTDIR="${pkgdir}" install |
|
|
|
|
|
|
|
|
|
# Remove uneeded files |
|
|
|
|