From 9a0121787d6180b9bf7a40eaa74fa7d48582c1a6 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 12 Jun 2023 09:28:49 +0200 Subject: [PATCH] prefix custom var --- mingw-w64-python-geneticalgorithm/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-python-geneticalgorithm/PKGBUILD b/mingw-w64-python-geneticalgorithm/PKGBUILD index 8d67ee7430..deff348268 100644 --- a/mingw-w64-python-geneticalgorithm/PKGBUILD +++ b/mingw-w64-python-geneticalgorithm/PKGBUILD @@ -4,7 +4,7 @@ _realname=geneticalgorithm pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") pkgver=1.0.1 -pkgver2=${pkgver//./} +_pkgver2=${pkgver//./} pkgrel=1 pkgdesc="Genetic Algorithm Package for Python (mingw64)" arch=('any') @@ -19,12 +19,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-python-wheel") license=('spdx:custom') -source=("https://github.com/rmsolgi/geneticalgorithm/archive/refs/tags/${pkgver2}.tar.gz") +source=("https://github.com/rmsolgi/geneticalgorithm/archive/refs/tags/${_pkgver2}.tar.gz") sha256sums=('DA63515A03A18E90518FB367727F77E13B100DB63253BE2408317D23EDBD5ADD') prepare() { rm -rf python-build-${MSYSTEM} | true - cp -r "${_realname}-${pkgver2}" "python-build-${MSYSTEM}" + cp -r "${_realname}-${_pkgver2}" "python-build-${MSYSTEM}" } build() {