Readd pkgver() to the git PKGBUILDS

pull/23/head
Jesus Alvarez 11 years ago
parent 976b5dedc5
commit db9f99963e
  1. 7
      spl-git/PKGBUILD
  2. 7
      spl-utils-git/PKGBUILD
  3. 11
      zfs-git/PKGBUILD
  4. 9
      zfs-utils-git/PKGBUILD

@ -44,6 +44,13 @@ install=spl.install
provides=("spl")
conflicts=("spl")
pkgver() {
cd "${srcdir}/spl"
# cutting off 'spl-' prefix that presents in the git tag
echo $(git describe --long | \
sed -r 's/^spl-//;s/([^-]*-g)/r\1/;s/-/_/g')_${_kernel_version_clean}
}
build() {
cd "$srcdir/spl"
./autogen.sh

@ -33,6 +33,13 @@ license=("GPL")
provides=("spl-utils")
conflicts=("spl-utils")
pkgver() {
cd "${srcdir}/spl"
# cutting off 'spl-' prefix that presents in the git tag
echo $(git describe --long | \
sed -r 's/^spl-//;s/([^-]*-g)/r\1/;s/-/_/g')_${_kernel_version_clean}
}
build() {
cd "${srcdir}/spl"
./autogen.sh

@ -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

@ -21,7 +21,7 @@ _kernel_version_x64_clean="3.14.1_1"
_kernel_version_clean=${_kernel_version_x64_clean}
pkgdesc="Kernel module support files for the Zettabyte File System."
depends=("spl-git=0.6.2_r33_g89aa970_3.14.1_1")
depends=("spl-git")
makedepends=("git")
arch=("i686" "x86_64")
url="http://zfsonlinux.org/"
@ -36,6 +36,13 @@ md5sums=('SKIP'
'b567a95a34759f196bf4be8061a895e5')
license=("CDDL")
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

Loading…
Cancel
Save