summaryrefslogtreecommitdiff
path: root/archiso32/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-01 14:04:37 +0200
committerErich Eckner <git@eckner.net>2017-08-01 14:07:22 +0200
commit25a90081a63c811d4bb9bb5d85546cdef636ab81 (patch)
treee4de77a97c5b6ae80ff51c0a4d8ad4b2f98d3f38 /archiso32/PKGBUILD
parent1813f8bb9d482fef20488a6a520ab4e8bf27ea69 (diff)
downloadarchlinuxewe-25a90081a63c811d4bb9bb5d85546cdef636ab81.tar.xz
silence namcap warnings with dirty hacks
Diffstat (limited to 'archiso32/PKGBUILD')
-rw-r--r--archiso32/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
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 <djgera@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
+_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
}