From 4309a779bab3ad2396c4947b8cdea9bc85ba7fe9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 24 Feb 2021 13:58:12 +0100 Subject: archiso updated --- archiso32/.gitignore | 1 + archiso32/PKGBUILD | 71 ++++++++++++++++++++++------------------------------ 2 files changed, 31 insertions(+), 41 deletions(-) create mode 100644 archiso32/.gitignore (limited to 'archiso32') diff --git a/archiso32/.gitignore b/archiso32/.gitignore new file mode 100644 index 000000000..2dbe21eb8 --- /dev/null +++ b/archiso32/.gitignore @@ -0,0 +1 @@ +archiso diff --git a/archiso32/PKGBUILD b/archiso32/PKGBUILD index 287a7a0d6..bc44ebd8d 100644 --- a/archiso32/PKGBUILD +++ b/archiso32/PKGBUILD @@ -1,59 +1,48 @@ -# $Id$ # Maintainer: Erich Eckner -# Contributor: Gerardo Exequiel Pozzi -# Contributor: Pierre Schmitz # repo: releng _target_arch=$(printf '%s' i 6 8 6) pkgname=archiso32 -pkgver=44.4 +_pkgbase=archiso + +pkgver=51 pkgrel=1 -pkgdesc='Tools for creating Arch Linux live and install iso images - for '"${_target_arch}" +pkgdesc='Tools for creating Arch Linux 32 live and install iso images' arch=('any') -license=('GPL') -url='https://git.archlinux32.org/archlinux32/archiso32' -depends=('archiso-cross' 'make' 'arch-install-scripts' 'squashfs-tools' 'libisoburn' 'dosfstools' 'lynx' 'pacman-mirrorlist32' 'archlinux32-keyring') +license=('GPL3') +url='https://gitlab.archlinux.org/archlinux/archiso' +depends=('archiso' 'pacman-mirrorlist32' 'archlinux32-keyring') source=( - "https://sources.archlinux32.org/sources/${pkgname}-${_target_arch}-v${pkgver}.tar.gz"{,.sig} + "git+https://gitlab.archlinux.org/archlinux/archiso.git#tag=v${pkgver}?signed" ) -sha512sums=('4290fa9b6dd524d12111edcf19f66ee4db63c3cc9e5ff9419e25ddd115df12b06dbf31c9c0dc9d410c2e5cd259edb5f470be3463a25ae85094a7a05e0c98890a' - 'SKIP') -validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A') - -build() { - mkdir "${srcdir}/pkg" - make -C "${srcdir}/${pkgname}-${_target_arch}-v${pkgver}" DESTDIR="${srcdir}/pkg" install -} +sha512sums=('SKIP') +validpgpkeys=('C7E7849466FE2358343588377258734B41C31549') # David Runge package() { + cd "${_pkgbase}" + mkdir "${srcdir}/pkg" + make DESTDIR="${srcdir}/pkg" install mkdir -p "${pkgdir}/usr/share/archiso/configs" mv "${srcdir}/pkg/usr/share/archiso/configs/releng" "${pkgdir}/usr/share/archiso/configs/releng32" - rm \ - "${srcdir}/pkg/usr/share/doc/archiso/README.altbootmethods" \ - "${srcdir}/pkg/usr/share/doc/archiso/README.transfer" - - ( - pacman -Qql archiso-cross \ - | grep -v '/$' - cd "${srcdir}/pkg" - find * -not -type d \ - | sed 's,^,/,' - ) \ - | sort \ - | uniq -d \ - | while read -r f; do - diff -u --color "${f}" "${srcdir}/pkg${f}" || return $? - rm "${srcdir}/pkg${f}" - done - - if find "${srcdir}/pkg" -not -type d \ - | grep -F ''; then - >&2 echo '^residual files found' - return 4 - fi - + # borrowed from archlinux32/packages32/extra/archiso + cd "${pkgdir}/usr/share/archiso/configs/releng32" + mv packages.x86_64 packages.i686 + sed -i ' + s@archlinux@archlinux32@g + s@ARCH_@ARCH32_@g + ' profiledef.sh + find airootfs -type f -exec \ + sed -i ' + s@\bx86_64\b@i686@g + s@Arch Linux@\0 32@g + s@pacman-key --populate archlinux@\032@g + ' {} + + + sed -i ' + s@\bmirrorlist\b@\032@ + ' pacman.conf } -- cgit v1.2.3-70-g09d2