python-mimeparse: Move file to folder and rename
This commit is contained in:
@@ -14,7 +14,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2"
|
||||
"${MINGW_PACKAGE_PREFIX}-python3-setuptools"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2-setuptools")
|
||||
options=('staticlibs' 'strip' '!debug')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/dbtsai/python-mimeparse/archive/$pkgver.tar.gz")
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/dbtsai/python-mimeparse/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('515b964bbcf0d7b6bf2a148a7d53c72ff64402e276f6202b95810545a1576b9d')
|
||||
|
||||
# Helper macros to help make tasks easier #
|
||||
@@ -29,8 +29,8 @@ apply_patch_with_msg() {
|
||||
del_file_exists() {
|
||||
for _fname in "$@"
|
||||
do
|
||||
if [ -f $_fname ]; then
|
||||
rm -rf $_fname
|
||||
if [ -f ${_fname} ]; then
|
||||
rm -rf ${_fname}
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user