Mercurial > vanilla
comparison xfce/xfdesktop/xfdesktop.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 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
52 with_notifications="--enable-notifications" | 52 with_notifications="--enable-notifications" |
53 else | 53 else |
54 with_notifications="--disable-notifications" | 54 with_notifications="--disable-notifications" |
55 fi | 55 fi |
56 | 56 |
57 build() | 57 rm -rf $PKGNAME-$PKGVERSION |
58 { | 58 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
59 rm -rf $PKGNAME-$PKGVERSION | 59 cd $PKGNAME-$PKGVERSION |
60 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
61 cd $PKGNAME-$PKGVERSION | |
62 | 60 |
63 CC="$CC" \ | 61 CC="$CC" \ |
64 CFLAGS="$CFLAGS" \ | 62 CFLAGS="$CFLAGS" \ |
65 LDFLAGS="$LDFLAGS" \ | 63 LDFLAGS="$LDFLAGS" \ |
66 LIBS="$LIBS" \ | 64 LIBS="$LIBS" \ |
67 ./configure \ | 65 ./configure \ |
68 --build=$CBUILD \ | 66 --build=$CBUILD \ |
69 --host=$CHOST \ | 67 --host=$CHOST \ |
70 --prefix= \ | 68 --prefix= \ |
71 --localedir=/share/locale \ | 69 --localedir=/share/locale \ |
72 --with-locales-dir=/share/locale \ | 70 --with-locales-dir=/share/locale \ |
73 $with_nls \ | 71 $with_nls \ |
74 $with_notifications | 72 $with_notifications |
75 make | 73 make |
76 make install DESTDIR=$DESTDIR | 74 make install DESTDIR=$DESTDIR |
77 | 75 |
78 cd .. | 76 cd .. |
79 rm -rf $PKGNAME-$PKGVERSION | 77 rm -rf $PKGNAME-$PKGVERSION |
80 } |