diff compression/zip/zip.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents ddab65a5b3f5
children 27d1a83dc8d6
line wrap: on
line diff
--- a/compression/zip/zip.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/compression/zip/zip.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -25,19 +25,16 @@
 
 : ${CC:=clang}
 
-build()
-{
-	rm -rf ${PKGNAME}30
-	tar xvf ${PKGNAME}30.tar.gz
-	cd ${PKGNAME}30
+rm -rf ${PKGNAME}30
+tar xvf ${PKGNAME}30.tar.gz
+cd ${PKGNAME}30
 
-	# does not support DESTDIR, fake it with prefix.
-	make -f unix/Makefile CC="$CC" generic
-	make -f unix/Makefile \
-		prefix=$DESTDIR/ \
-		MANDIR=$DESTDIR/share/man/man1 \
-		install
+# does not support DESTDIR, fake it with prefix.
+make -f unix/Makefile CC="$CC" generic
+make -f unix/Makefile \
+	prefix=$DESTDIR/ \
+	MANDIR=$DESTDIR/share/man/man1 \
+	install
 
-	cd ..
-	rm -rf ${PKGNAME}30
-}
+cd ..
+rm -rf ${PKGNAME}30