diff misc/iso-codes/iso-codes.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/misc/iso-codes/iso-codes.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/misc/iso-codes/iso-codes.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -23,16 +23,13 @@
 PKGDOWNLOAD="https://salsa.debian.org/iso-codes-team/$PKGNAME/uploads/049ce6aac94d842be809f4063950646c/$PKGNAME-$PKGVERSION.tar.xz"
 PKGDEPENDS="gettext"
 
-build()
-{
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvf $PKGNAME-$PKGVERSION.tar.xz
-	cd $PKGNAME-$PKGVERSION
+rm -rf $PKGNAME-$PKGVERSION
+tar xvf $PKGNAME-$PKGVERSION.tar.xz
+cd $PKGNAME-$PKGVERSION
 
-	./configure --prefix=
-	make
-	make install pkgconfigdir=/lib/pkgconfig DESTDIR=$DESTDIR
+./configure --prefix=
+make
+make install pkgconfigdir=/lib/pkgconfig DESTDIR=$DESTDIR
 
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
+cd ..
+rm -rf $PKGNAME-$PKGVERSION