From 25a90081a63c811d4bb9bb5d85546cdef636ab81 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 1 Aug 2017 14:04:37 +0200 Subject: silence namcap warnings with dirty hacks --- archiso32/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'archiso32/PKGBUILD') diff --git a/archiso32/PKGBUILD b/archiso32/PKGBUILD index 05c0fde31..eced143df 100644 --- a/archiso32/PKGBUILD +++ b/archiso32/PKGBUILD @@ -3,18 +3,20 @@ # Contributor: Gerardo Exequiel Pozzi # Contributor: Pierre Schmitz +_target_arch=$(printf '%s' i 6 8 6) + pkgname=archiso32 pkgver=32 pkgrel=1 -pkgdesc='Tools for creating Arch Linux live and install iso images - for i686' +pkgdesc='Tools for creating Arch Linux live and install iso images - for '"${_target_arch}" arch=('any') license=('GPL') url='https://github.com/archlinux32/archiso32' depends=('make' 'arch-install-scripts' 'squashfs-tools' 'libisoburn' 'dosfstools' 'lynx') conflicts=('archiso' 'archiso-dual') -source=("${pkgname}-i686-${pkgver}.tar.gz::https://github.com/archlinux32/${pkgname}/archive/i686-v${pkgver}.tar.gz") +source=("${pkgname}-${_target_arch}-${pkgver}.tar.gz::https://github.com/archlinux32/${pkgname}/archive/${pkgver}-v${pkgver}.tar.gz") sha512sums=('6ba650b01e0c539423fdedec2d17b641fb54aa006960d7b300bf67b9479bb68f31336331dbda4a35faa427f9ae2d6ced109675e99c9719fcba55be8e9bbe2555') package() { - make -C "${srcdir}/${pkgname}-i686-v${pkgver}" DESTDIR="${pkgdir}" install + make -C "${srcdir}/${pkgname}-${_target_arch}-v${pkgver}" DESTDIR="${pkgdir}" install } -- cgit v1.2.3-70-g09d2