# $Id$ # Maintainer: Erich Eckner # Contributor: Gerardo Exequiel Pozzi # Contributor: Pierre Schmitz # repo: releng _target_arch=$(printf '%s' i 6 8 6) pkgname=archiso32 pkgver=43.2 pkgrel=1 pkgdesc='Tools for creating Arch Linux live and install iso images - for '"${_target_arch}" arch=('any') license=('GPL') url='https://git.archlinux32.org/archlinux32/archiso32' depends=('archiso' 'make' 'arch-install-scripts' 'squashfs-tools' 'libisoburn' 'dosfstools' 'lynx' 'pacman-mirrorlist32' 'archlinux32-keyring') source=( "https://sources.archlinux32.org/sources/${pkgname}-${_target_arch}-v${pkgver}.tar.gz"{,.sig} ) sha512sums=('cc94c3f49666e276b8745d333507b5c29e2231d9efc624d8969594c7370127bc8c198fc5fa35ae7fc3fa139429a4d6c4b1313842d8794408814ae258a009e2a6' 'SKIP') validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A') build() { mkdir "${srcdir}/pkg" make -C "${srcdir}/${pkgname}-${_target_arch}-v${pkgver}" DESTDIR="${srcdir}/pkg" install } package() { 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 \ | 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 }