#packager: Dimitris Tzemos pkgname=razorqt pkgver=0.5.2 pkgrel=1dj source=("http://razor-qt.org/downloads/$pkgname-$pkgver.tar.bz2" "xinitrc.razorqt") url="http://razor-qt.org" docs=('README') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Razor-qt is an advanced, easy-to-use, and fast desktop environment" "based on Qt technologies. It has been tailored for users who value" "simplicity, speed, and an intuitive interface. Unlike most desktop" "environments, Razor-qt also works fine with weak machines." ) build() { # how many build jobs? JOBS="-j$(($(getconf _NPROCESSORS_ONLN)*2))" NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $SRC/$pkgname-$pkgver cd $startdir/src/ mkdir build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DRAZOR_CONFIG_DIR:STRING=".config/razorqt" \ ../$pkgname-$pkgver make VERBOSE=1 $NUMJOBS || return 1 make DESTDIR=$startdir/pkg/ install || return 1 mkdir -p $PKG/etc/X11/xinit cat $SRC/xinitrc.razorqt > $PKG/etc/X11/xinit/xinitrc.razorqt chmod 0755 $PKG/etc/X11/xinit/xinitrc.razorqt } # Doinst doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi }