1
0
forked from ports/contrib

arora: fixed makeflags. also added -j1.

This commit is contained in:
Jose V Beneyto 2009-05-28 07:26:47 +00:00
parent dbeefb78d6
commit 79e68bfc69

View File

@ -6,15 +6,18 @@
name=arora
version=0.7.0
release=1
release=2
source=(http://arora.googlecode.com/files/$name-$version.tar.gz)
build() {
cd $name-$version
qmake-qt4 PREFIX=/usr
make
sed -e '/include(locale/d' \
-e '/man.*/ s/$$DATADIR/$$PREFIX/' \
-i src/src.pro
qmake-qt4 PREFIX=/usr QMAKE_CXXFLAGS="$CXXFLAGS"
make -j1
make INSTALL_ROOT=$PKG install
mv $PKG/usr/share/man $PKG/usr
rm -rf $PKG/usr/share/$name
sed -r '/\[.+\]=/d' -i $PKG/usr/share/applications/$name.desktop
}