From 05a4db48324ecfe9e524761cb7115aeb15ea4706 Mon Sep 17 00:00:00 2001 From: Bin Jin Date: Sat, 9 Jan 2016 16:18:00 +0000 Subject: Bump version Also update to install from tarball release file instead of git. Remove unnecessary makedep, depends with exact version number should be enough. --- PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 373c262..a0a9a7e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,23 +5,23 @@ pkgbase="zfs-dkms" pkgname=("zfs-dkms" "zfs-utils") -pkgver=0.6.5.3 -pkgrel=2 +pkgver=0.6.5.4 +pkgrel=1 license=('CDDL') -makedepends=("git" "spl-dkms=${pkgver}") +makedepends=("git") arch=("i686" "x86_64") url="http://zfsonlinux.org/" -source=("git+https://github.com/zfsonlinux/zfs.git#tag=zfs-${pkgver}" +source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz" "zfs-utils.bash-completion-r1" "zfs-utils.initcpio.install" "zfs-utils.initcpio.hook") -md5sums=('SKIP' - '9ddb0c8a94861f929d0fa741fdc49950' - '9ef4841abb85dee611828cc7e6f5c6fe' - '62ba32c6853c315ff231c396cf8bfdbb') +sha256sums=('780862ec2301ccace412a324787e9df762cff6046e73e2ac0ebdce9e2bd59b0f' + 'b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540' + '1e20071fa61a33874505dae0f2d71bb560f43e7faaea735cbde770ea10c133df' + '250f1232c464a81cc9c8b8ee05f21d752ebeebbc8614fae1c6d0bc600e816ac1') build() { - cd "${srcdir}/zfs" + cd "${srcdir}/zfs-${pkgver}" ./autogen.sh ./configure --prefix=/usr \ @@ -48,8 +48,8 @@ package_zfs-dkms() { dkmsdir="${pkgdir}/usr/src/zfs-${pkgver}" install -d "${dkmsdir}" - cd "${srcdir}/zfs" - git archive --format=tar HEAD | tar -x -C "${dkmsdir}" + cd "${srcdir}" + tar -xzf "zfs-${pkgver}.tar.gz" -C "${dkmsdir}" --strip-components 1 cd "${dkmsdir}" ./autogen.sh @@ -61,7 +61,7 @@ package_zfs-utils() { pkgdesc="Kernel module support files for the Zettabyte File System." conflicts=("zfs-utils-git" "zfs-utils-lts") - cd "${srcdir}/zfs" + cd "${srcdir}/zfs-${pkgver}" make DESTDIR="${pkgdir}" install # Remove uneeded files -- cgit v1.2.1