diff text/asciidoc/asciidoc.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 8604ee710a55
children 57dc83a39b13
line wrap: on
line diff
--- a/text/asciidoc/asciidoc.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/text/asciidoc/asciidoc.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -24,21 +24,18 @@
 PKGDEPENDS="python2 libxml2 docbook-xsl"
 PKGTAGS="DEPRECATED"
 
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGVERSION.tar.gz
-	cd $PKGNAME-$PKGVERSION
+rm -rf $PKGNAME-$PKGVERSION
+tar xvf $PKGVERSION.tar.gz
+cd $PKGNAME-$PKGVERSION
 
-	sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in
-	autoreconf -vif
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix=
-	make
-	make install DESTDIR=$DESTDIR
+sed -i -e "s|python a2x.py|python2 a2x.py|" Makefile.in
+autoreconf -vif
+./configure \
+	--build=$CBUILD \
+	--host=$CHOST \
+	--prefix=
+make
+make install DESTDIR=$DESTDIR
 
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
+cd ..
+rm -rf $PKGNAME-$PKGVERSION