ristretto: Cleanup the Pkgfile
This Pkgfile removed the language stuff directly in the Makefile. This can work, however in some cases i can also fail. To be safe i removed the languages after building the package. Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
parent
ad9ec23e6d
commit
dd1ca23acb
@ -10,19 +10,27 @@ version=0.8.0
|
||||
release=1
|
||||
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
build ()
|
||||
{
|
||||
# go into the source dircetory
|
||||
cd $SRC/$name-$version
|
||||
|
||||
# remove po stuff
|
||||
sed -i Makefile.* -e '/^SUBDIRS =/ s/po //' -e '/^SUBDIRS =/ s/ docs//'
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-nls \
|
||||
--disable-debug
|
||||
# configure ristretto
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-nls \
|
||||
--disable-debug \
|
||||
--disable-dependency-tracking
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
find $PKG/usr/share -type f -name '*.desktop' \
|
||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||
# make ristretto
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
|
||||
# cleanup the desktop file
|
||||
rm -r $PKG/usr/share/locale
|
||||
find $PKG/usr/share -type f -name '*.desktop' \
|
||||
-exec sed -r '/\[.+\]=/d' -i {} \;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user