mirror of https://github.com/archzfs/archzfs
parent
19777aec8b
commit
af35099435
@ -0,0 +1,63 @@ |
||||
# For build.sh |
||||
mode_name="utils" |
||||
mode_desc="Select and use the utils packages" |
||||
|
||||
# version |
||||
pkgrel="1" |
||||
|
||||
# Version for GIT packages |
||||
pkgrel_git="1" |
||||
zfs_git_commit="" |
||||
spl_git_commit="" |
||||
zfs_git_url="https://github.com/zfsonlinux/zfs.git" |
||||
spl_git_url="https://github.com/zfsonlinux/spl.git" |
||||
|
||||
header="\ |
||||
# Maintainer: Jan Houben <jan@nexttrex.de> |
||||
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com> |
||||
# |
||||
# This PKGBUILD was generated by the archzfs build scripts located at |
||||
# |
||||
# http://github.com/archzfs/archzfs |
||||
#" |
||||
|
||||
update_utils_pkgbuilds() { |
||||
pkg_list=("spl-utils" "zfs-utils") |
||||
archzfs_package_group="archzfs-linux" |
||||
spl_pkgver=${zol_version} |
||||
zfs_pkgver=${zol_version} |
||||
spl_pkgrel=${pkgrel} |
||||
zfs_pkgrel=${pkgrel} |
||||
spl_utils_pkgname="spl-utils" |
||||
zfs_utils_pkgname="zfs-utils" |
||||
# Paths are relative to build.sh |
||||
spl_utils_pkgbuild_path="packages/${kernel_name}/${spl_utils_pkgname}" |
||||
zfs_utils_pkgbuild_path="packages/${kernel_name}/${zfs_utils_pkgname}" |
||||
spl_src_target="https://github.com/zfsonlinux/zfs/releases/download/zfs-\${pkgver}/spl-\${pkgver}.tar.gz" |
||||
zfs_src_target="https://github.com/zfsonlinux/zfs/releases/download/zfs-\${pkgver}/zfs-\${pkgver}.tar.gz" |
||||
spl_workdir="\${srcdir}/spl-\${pkgver}" |
||||
zfs_workdir="\${srcdir}/zfs-\${pkgver}" |
||||
spl_utils_replaces='replaces=("spl-utils-linux", "spl-utils-linux-lts" "spl-utils-common")' |
||||
zfs_utils_replaces='replaces=("zfs-utils-linux", "zfs-utils-linux-lts" "zfs-utils-common")' |
||||
} |
||||
|
||||
update_utils_git_pkgbuilds() { |
||||
pkg_list=("zfs-utils-git") |
||||
archzfs_package_group="archzfs-linux-git" |
||||
zfs_pkgver="" # Set later by call to git_calc_pkgver |
||||
zfs_pkgrel=${pkgrel_git} |
||||
zfs_utils_pkgname="zfs-utils-git" |
||||
zfs_utils_pkgbuild_path="packages/${kernel_name}/${zfs_utils_pkgname}" |
||||
zfs_src_hash="SKIP" |
||||
zfs_makedepends="\"git\"" |
||||
zfs_workdir="\${srcdir}/zfs" |
||||
|
||||
zfs_utils_replaces='replaces=("spl-utils-common-git" "zfs-utils-common-git")' |
||||
|
||||
if have_command "update"; then |
||||
git_check_repo |
||||
git_calc_pkgver |
||||
fi |
||||
zfs_set_commit="_commit='${latest_zfs_git_commit}'" |
||||
zfs_src_target="git+${zfs_git_url}#commit=\${_commit}" |
||||
} |
@ -1,41 +0,0 @@ |
||||
# For build.sh |
||||
mode_name="common-git" |
||||
mode_desc="Select and use the packages that are common between all kernels (git version)" |
||||
|
||||
# Version for GIT packages |
||||
pkgrel_git="1" |
||||
zfs_git_commit="" |
||||
spl_git_commit="" |
||||
zfs_git_url="https://github.com/zfsonlinux/zfs.git" |
||||
spl_git_url="https://github.com/zfsonlinux/spl.git" |
||||
|
||||
header="\ |
||||
# Maintainer: Jan Houben <jan@nexttrex.de> |
||||
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com> |
||||
# |
||||
# This PKGBUILD was generated by the archzfs build scripts located at |
||||
# |
||||
# http://github.com/archzfs/archzfs |
||||
#" |
||||
|
||||
update_common_git_pkgbuilds() { |
||||
pkg_list=("zfs-utils-common-git") |
||||
archzfs_package_group="archzfs-linux-git" |
||||
zfs_pkgver="" # Set later by call to git_calc_pkgver |
||||
zfs_pkgrel=${pkgrel_git} |
||||
zfs_utils_pkgname="zfs-utils-common-git" |
||||
spl_utils_pkgbuild_path="packages/${kernel_name}/${spl_utils_pkgname}" |
||||
zfs_utils_pkgbuild_path="packages/${kernel_name}/${zfs_utils_pkgname}" |
||||
zfs_src_hash="SKIP" |
||||
zfs_makedepends="\"git\"" |
||||
zfs_workdir="\${srcdir}/zfs" |
||||
|
||||
zfs_utils_replaces='replaces=("spl-utils-common-git")' |
||||
|
||||
if have_command "update"; then |
||||
git_check_repo |
||||
git_calc_pkgver |
||||
fi |
||||
zfs_set_commit="_commit='${latest_zfs_git_commit}'" |
||||
zfs_src_target="git+${zfs_git_url}#commit=\${_commit}" |
||||
} |
@ -1,35 +0,0 @@ |
||||
# For build.sh |
||||
mode_name="common" |
||||
mode_desc="Select and use the packages that are common between all kernels" |
||||
|
||||
# version |
||||
pkgrel="2" |
||||
|
||||
header="\ |
||||
# Maintainer: Jan Houben <jan@nexttrex.de> |
||||
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com> |
||||
# |
||||
# This PKGBUILD was generated by the archzfs build scripts located at |
||||
# |
||||
# http://github.com/archzfs/archzfs |
||||
#" |
||||
|
||||
update_common_pkgbuilds() { |
||||
pkg_list=("spl-utils-common" "zfs-utils-common") |
||||
archzfs_package_group="archzfs-linux" |
||||
spl_pkgver=${zol_version} |
||||
zfs_pkgver=${zol_version} |
||||
spl_pkgrel=${pkgrel} |
||||
zfs_pkgrel=${pkgrel} |
||||
spl_utils_pkgname="spl-utils-common" |
||||
zfs_utils_pkgname="zfs-utils-common" |
||||
# Paths are relative to build.sh |
||||
spl_utils_pkgbuild_path="packages/${kernel_name}/${spl_utils_pkgname}" |
||||
zfs_utils_pkgbuild_path="packages/${kernel_name}/${zfs_utils_pkgname}" |
||||
spl_src_target="https://github.com/zfsonlinux/zfs/releases/download/zfs-\${pkgver}/spl-\${pkgver}.tar.gz" |
||||
zfs_src_target="https://github.com/zfsonlinux/zfs/releases/download/zfs-\${pkgver}/zfs-\${pkgver}.tar.gz" |
||||
spl_workdir="\${srcdir}/spl-\${pkgver}" |
||||
zfs_workdir="\${srcdir}/zfs-\${pkgver}" |
||||
spl_utils_replaces='replaces=("spl-utils-linux", "spl-utils-linux-lts")' |
||||
zfs_utils_replaces='replaces=("zfs-utils-linux", "zfs-utils-linux-lts")' |
||||
} |
Loading…
Reference in new issue