|
|
|
@ -32,9 +32,7 @@ else |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
pkgdesc="Kernel modules for the Zettabyte File System." |
|
|
|
|
depends=("spl-git=0.6.2_r33_g89aa970_3.14.1_1" |
|
|
|
|
"zfs-utils-git=0.6.2_r254_g0b75bdb_3.14.1_1" |
|
|
|
|
"linux=${_kernel_version}") |
|
|
|
|
depends=("spl-git" "zfs-utils-git" "linux=${_kernel_version}") |
|
|
|
|
makedepends=("git" "linux-headers=${_kernel_version}") |
|
|
|
|
arch=("i686" "x86_64") |
|
|
|
|
url="http://zfsonlinux.org/" |
|
|
|
@ -44,6 +42,13 @@ md5sums=('SKIP') |
|
|
|
|
license=("CDDL") |
|
|
|
|
install=zfs.install |
|
|
|
|
|
|
|
|
|
pkgver() { |
|
|
|
|
cd "${srcdir}/zfs" |
|
|
|
|
# cutting off 'spl-' prefix that presents in the git tag |
|
|
|
|
echo $(git describe --long | \ |
|
|
|
|
sed -r 's/^zfs-//;s/([^-]*-g)/r\1/;s/-/_/g')_${_kernel_version_clean} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
build() { |
|
|
|
|
cd "${srcdir}/zfs" |
|
|
|
|
./autogen.sh |
|
|
|
|