python-mimeparse: Move file to folder and rename

This commit is contained in:
Alexey Pavlov
2018-08-01 11:39:15 +03:00
parent a8be7c2ab1
commit ff9c4e4451

View File

@@ -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
}