From e408ee230267dadf0d9ef67e1cb1241b454b3502 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 15 Jan 2020 12:06:26 +0100 Subject: archiso-cross: fix pkgname --- archiso-cross/PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/archiso-cross/PKGBUILD b/archiso-cross/PKGBUILD index c46e640d..c50551b8 100644 --- a/archiso-cross/PKGBUILD +++ b/archiso-cross/PKGBUILD @@ -2,16 +2,19 @@ # Contributor: Gerardo Exequiel Pozzi # Contributor: Pierre Schmitz -pkgname=archiso +pkgname=archiso-cross +_pkgname="${pkgname%-*}" pkgver=43 -pkgrel=1 +pkgrel=2 +conflicts=(archiso) +provides=("archiso=${pkgver}") pkgdesc='Tools for creating Arch Linux live and install iso images - modified to make cross compiling easier' arch=('any') license=('GPL') url='https://projects.archlinux.org/archiso.git/' depends=('make' 'arch-install-scripts' 'squashfs-tools' 'libisoburn' 'dosfstools' 'lynx') -source=("https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz" - "https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig" +source=("https://sources.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" + "https://sources.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz.sig" 'default-arch-value.patch') sha256sums=('4d2274cc5f1c48883941c3e37dfe7882632f9c455f97635aa079c1812571cb13' 'SKIP' @@ -20,10 +23,10 @@ validpgpkeys=('0F334D8698881578F65D2AE55ED514A45BD5C938' # Gerardo Exequiel Poz '4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC') # Pierre Schmitz prepare() { - cd "${pkgname}-${pkgver}" + cd "${_pkgname}-${pkgver}" patch -p1 -i "${srcdir}/default-arch-value.patch" } package() { - make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install + make -C "${_pkgname}-${pkgver}" DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf