Mercurial > vanilla
comparison xfce/mousepad/mousepad.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 |
---|---|
45 with_nls="--enable-nls" | 45 with_nls="--enable-nls" |
46 else | 46 else |
47 with_nls="--disable-nls" | 47 with_nls="--disable-nls" |
48 fi | 48 fi |
49 | 49 |
50 build() | 50 rm -rf $PKGNAME-$PKGVERSION |
51 { | 51 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
52 rm -rf $PKGNAME-$PKGVERSION | 52 cd $PKGNAME-$PKGVERSION |
53 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
54 cd $PKGNAME-$PKGVERSION | |
55 | 53 |
56 CC="$CC" \ | 54 CC="$CC" \ |
57 CFLAGS="$CFLAGS" \ | 55 CFLAGS="$CFLAGS" \ |
58 LDFLAGS="$LDFLAGS" \ | 56 LDFLAGS="$LDFLAGS" \ |
59 LIBS="$LIBS" \ | 57 LIBS="$LIBS" \ |
60 ./configure \ | 58 ./configure \ |
61 --build=$CBUILD \ | 59 --build=$CBUILD \ |
62 --host=$CHOST \ | 60 --host=$CHOST \ |
63 --prefix= \ | 61 --prefix= \ |
64 --enable-gtk3 \ | 62 --enable-gtk3 \ |
65 --localedir=/share/locale \ | 63 --localedir=/share/locale \ |
66 --with-locales-dir=/share/locale \ | 64 --with-locales-dir=/share/locale \ |
67 $with_dbus | 65 $with_dbus |
68 make | 66 make |
69 make install DESTDIR=$DESTDIR | 67 make install DESTDIR=$DESTDIR |
70 | 68 |
71 cd .. | 69 cd .. |
72 rm -rf $PKGNAME-$PKGVERSION | 70 rm -rf $PKGNAME-$PKGVERSION |
73 } |