Mercurial > vanilla
comparison xfce/thunar-volman/thunar-volman.sh @ 1222:325631424c65
misc: bring back build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 27 Oct 2021 11:32:16 +0200 |
parents | a47aaf9743a0 |
children | 9867e578b1a9 |
comparison
equal
deleted
inserted
replaced
1221:a47aaf9743a0 | 1222:325631424c65 |
---|---|
51 with_notifications="--enable-notifications" | 51 with_notifications="--enable-notifications" |
52 else | 52 else |
53 with_notifications="--disable-notifications" | 53 with_notifications="--disable-notifications" |
54 fi | 54 fi |
55 | 55 |
56 rm -rf $PKGNAME-$PKGVERSION | 56 build() |
57 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | 57 { |
58 cd $PKGNAME-$PKGVERSION | 58 rm -rf $PKGNAME-$PKGVERSION |
59 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
60 cd $PKGNAME-$PKGVERSION | |
59 | 61 |
60 CC="$CC" \ | 62 CC="$CC" \ |
61 CFLAGS="$CFLAGS" \ | 63 CFLAGS="$CFLAGS" \ |
62 LDFLAGS="$LDFLAGS" \ | 64 LDFLAGS="$LDFLAGS" \ |
63 LIBS="$LIBS" \ | 65 LIBS="$LIBS" \ |
64 ./configure \ | 66 ./configure \ |
65 --build=$CBUILD \ | 67 --build=$CBUILD \ |
66 --host=$CHOST \ | 68 --host=$CHOST \ |
67 --prefix=/usr \ | 69 --prefix= \ |
68 --localedir=/share/locale \ | 70 --localedir=/share/locale \ |
69 --with-locales-dir=/share/locale \ | 71 --with-locales-dir=/share/locale \ |
70 $with_nls \ | 72 $with_nls \ |
71 $with_notifications | 73 $with_notifications |
72 make | 74 make |
73 make install DESTDIR=$DESTDIR | 75 make install DESTDIR=$DESTDIR |
74 | 76 |
75 cd .. | 77 cd .. |
76 rm -rf $PKGNAME-$PKGVERSION | 78 rm -rf $PKGNAME-$PKGVERSION |
79 } |