diff python/py-editorconfig/py-editorconfig.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 297b5eef115e
children 57dc83a39b13
line wrap: on
line diff
--- a/python/py-editorconfig/py-editorconfig.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/python/py-editorconfig/py-editorconfig.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -24,14 +24,11 @@
 PKGDOWNLOAD="https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$PKGVERSION.tar.gz"
 PKGDEPENDS="python"
 
-build()
-{
-	rm -rf EditorConfig-$PKGVERSION
-	tar xvf EditorConfig-$PKGVERSION.tar.gz
-	cd EditorConfig-$PKGVERSION
+rm -rf EditorConfig-$PKGVERSION
+tar xvf EditorConfig-$PKGVERSION.tar.gz
+cd EditorConfig-$PKGVERSION
 
-	python setup.py install --root=$DESTDIR --prefix=/.
+python setup.py install --root=$DESTDIR --prefix=/.
 
-	cd ..
-	rm -rf EditorConfig-$PKGVERSION
-}
+cd ..
+rm -rf EditorConfig-$PKGVERSION