thunar-volman: Cleanup the Pkgfile

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-04 02:24:07 +00:00
parent 6a07fe4b64
commit 9504a61b08

View File

@ -10,16 +10,27 @@ version=0.8.1
release=1 release=1
source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2) source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2)
build () { build ()
cd $name-$version {
# go into the source directory
cd $SRC/$name-$version
./configure --prefix=/usr \
--libexecdir=/usr/bin \
--disable-static \
--enable-debug=no
make # configure thunar-volman
make DESTDIR=$PKG install ./configure \
--prefix=/usr \
--libexecdir=/usr/bin \
--disable-static \
--disable-dependency-tracking \
--disable-debug \
--disable-nls
rm -rf $PKG/usr/share/locale
# make thunar-volman
make
make DESTDIR=$PKG install
# cleanup
rm -rf $PKG/usr/share/locale
} }