Make pkgbase of all packages match the name of the PKGBUILD directory
Similar to https://github.com/Alexpux/MINGW-packages/pull/2878 this adjusts the pkgbase names of all packages to match the directory name the PKGBUILD is in. The motivation for this is to provide links to PKGBUILD sources and git history from the web interface. The "dwz" directory is deleted as it just contains an older copy of the elfutils PKGBUILD (elfutils isn't in the repo)
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgbase=setuptools
|
||||
pkgname=("python3-${pkgbase}" "python2-${pkgbase}")
|
||||
_realname=setuptools
|
||||
pkgbase="python-${_realname}"
|
||||
pkgname=("python3-${_realname}" "python2-${_realname}")
|
||||
pkgver=36.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
|
||||
arch=('any')
|
||||
license=('PSF')
|
||||
url="https://pypi.python.org/pypi/setuptools"
|
||||
makedepends=('python3-packaging' 'python2-packaging' 'python3-appdirs' 'python2-appdirs' 'python3-pip'
|
||||
'python2-pip')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
|
||||
source=("$_realname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('86bad0c16b7bde4c0a37867db04d76a90a7c968a8926611f4ad26f3d9185b33aa040072ecd7d23540a1434d19a742db3667387d4df975de489b494103b2df0e9')
|
||||
|
||||
prepare() {
|
||||
|
||||
Reference in New Issue
Block a user