diff mate/mate-backgrounds/mate-backgrounds.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 7791d3dbfecf
children 27d1a83dc8d6
line wrap: on
line diff
--- a/mate/mate-backgrounds/mate-backgrounds.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/mate/mate-backgrounds/mate-backgrounds.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -22,16 +22,13 @@
 PKGSUMMARY="MATE collection of backgrounds"
 PKGDOWNLOAD="https://pub.mate-desktop.org/releases/1.22/$PKGNAME-$PKGVERSION.tar.xz"
 
-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 DESTDIR=$DESTDIR
+./configure --prefix=
+make
+make install DESTDIR=$DESTDIR
 
-	cd ..
-	rm -rf $PKGNAME-$PKGVERSION
-}
+cd ..
+rm -rf $PKGNAME-$PKGVERSION