Mercurial > vanilla
diff xfce/parole/parole.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/xfce/parole/parole.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/xfce/parole/parole.sh Wed Sep 29 13:49:32 2021 +0200 @@ -81,36 +81,33 @@ with_tray="--disable-tray-plugin" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.bz2 - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.bz2 +cd $PKGNAME-$PKGVERSION - # No tunable for pixmapsdir, quick patch. - sed -i -e '/pixmapsdir/ s/${DATADIRNAME}/share/' configure - CC="$CC" \ - CFLAGS="$CFLAGS" \ - CXX="$CXX" \ - CXXFLAGS="$CXXFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix= \ - --disable-debug \ - --datadir=/share \ - --localedir=/share/local \ - $with_mpris \ - $with_nls \ - $with_notifications \ - $with_taglib \ - $with_tray - make - make install localedir=/share/locale DESTDIR=$DESTDIR - find $DESTDIR -type f -name "*.la" -delete +# No tunable for pixmapsdir, quick patch. +sed -i -e '/pixmapsdir/ s/${DATADIRNAME}/share/' configure +CC="$CC" \ +CFLAGS="$CFLAGS" \ +CXX="$CXX" \ +CXXFLAGS="$CXXFLAGS" \ +LDFLAGS="$LDFLAGS" \ +LIBS="$LIBS" \ +./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix= \ + --disable-debug \ + --datadir=/share \ + --localedir=/share/local \ + $with_mpris \ + $with_nls \ + $with_notifications \ + $with_taglib \ + $with_tray +make +make install localedir=/share/locale DESTDIR=$DESTDIR +find $DESTDIR -type f -name "*.la" -delete - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION