prefix custom var

This commit is contained in:
Christoph Reiter
2023-06-12 09:28:49 +02:00
committed by GitHub
parent 0aecee2e94
commit 9a0121787d

View File

@@ -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() {