From ff9c4e44510a601fd0c2dc6dbdfc1c96f7844a8a Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Wed, 1 Aug 2018 11:39:15 +0300 Subject: [PATCH] python-mimeparse: Move file to folder and rename --- .../PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename mingw-w64-python-mimeparse => mingw-w64-python-mimeparse/PKGBUILD (96%) diff --git a/mingw-w64-python-mimeparse b/mingw-w64-python-mimeparse/PKGBUILD similarity index 96% rename from mingw-w64-python-mimeparse rename to mingw-w64-python-mimeparse/PKGBUILD index b56182d74a..f42e825a81 100644 --- a/mingw-w64-python-mimeparse +++ b/mingw-w64-python-mimeparse/PKGBUILD @@ -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 }