Browse Source

Update and remove test target

master
Nathan Owens 10 months ago
parent
commit
2806f4b8eb
  1. 9
      PKGBUILD

9
PKGBUILD

@ -8,7 +8,7 @@
#
pkgbase="zfs-git"
pkgname=('zfs-dkms-git' 'zfs-utils-git')
pkgver=2.1.99.r447.g5a54a4e05
pkgver=2.1.99.r451.g7443299fe
_pkgver=2.1.0
pkgrel=1
arch=("x86_64")
@ -36,6 +36,11 @@ prepare() {
cd "${srcdir}/zfs"
echo 'AM_GNU_GETTEXT([external])' >> configure.ac
echo 'AM_GNU_GETTEXT_VERSION([0.20])' >> configure.ac
# Remove tests
sed -i '/tests/d' configure.ac
sed -e 's,tests,,' \
-e '/SPELLCHECKDIRS/s,tests,,' \
-i Makefile.am
}
build() {
@ -94,6 +99,4 @@ package_zfs-utils-git() {
install -D -m644 "${srcdir}"/zfs-utils.initcpio.install "${pkgdir}"/usr/lib/initcpio/install/zfs
install -D -m644 "${srcdir}"/zfs-utils.initcpio.zfsencryptssh.install "${pkgdir}"/usr/lib/initcpio/install/zfsencryptssh
install -D -m644 contrib/bash_completion.d/zfs "${pkgdir}"/usr/share/bash-completion/completions/zfs
# Remove tests
rm -rf "${pkgdir}/usr/share/zfs/zfs-tests"
}

Loading…
Cancel
Save