python3-icoextract 0.2.0-1
This commit is contained in:
50
python3-icoextract/alr.sh
Normal file
50
python3-icoextract/alr.sh
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name='python3-icoextract'
|
||||||
|
version='0.2.0'
|
||||||
|
release='1'
|
||||||
|
desc='Windows PE EXE icon extractor'
|
||||||
|
desc_ru='Извлечение иконок из Windows PE EXE файлов'
|
||||||
|
homepage='https://github.com/jlu5/icoextract'
|
||||||
|
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||||
|
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||||
|
architectures=('all')
|
||||||
|
license=('MIT')
|
||||||
|
provides=('icoextract')
|
||||||
|
conflicts=('icoextract')
|
||||||
|
|
||||||
|
deps=('python3' 'python3-pefile')
|
||||||
|
deps_alt=('python3' 'python3-module-pefile')
|
||||||
|
deps_arch=('python' 'python-pefile')
|
||||||
|
deps_debian=('python3' 'python3-pefile')
|
||||||
|
deps_fedora=("${deps[@]}")
|
||||||
|
deps_redos=("${deps[@]}")
|
||||||
|
deps_rhel=("${deps[@]}")
|
||||||
|
deps_rosa=("${deps[@]}")
|
||||||
|
deps_alpine=('python3' 'py3-pefile')
|
||||||
|
|
||||||
|
build_deps=('python3' 'python3-build' 'python3-installer' 'python3-setuptools')
|
||||||
|
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'python3-module-setuptools')
|
||||||
|
build_deps_arch=('python' 'python-build' 'python-installer' 'python-setuptools')
|
||||||
|
build_deps_debian=('python3' 'python3-build' 'python3-installer' 'python3-setuptools')
|
||||||
|
build_deps_fedora=("${build_deps[@]}")
|
||||||
|
build_deps_redos=("${build_deps[@]}")
|
||||||
|
build_deps_rhel=("${build_deps[@]}")
|
||||||
|
build_deps_rosa=("${build_deps[@]}")
|
||||||
|
build_deps_alpine=('python3' 'py3-build' 'py3-installer' 'py3-setuptools')
|
||||||
|
|
||||||
|
sources=("https://files.pythonhosted.org/packages/source/i/icoextract/icoextract-${version}.tar.gz")
|
||||||
|
checksums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/icoextract-${version}"
|
||||||
|
python -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/icoextract-${version}"
|
||||||
|
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
|
}
|
||||||
|
|
||||||
|
files() {
|
||||||
|
files-find-bin
|
||||||
|
files-find-lib
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user