#Packager: George Vlahavas pkgname=xfce4-whiskermenu-plugin pkgver=2.7.1 pkgrel=1gv source=("https://github.com/gottcode/xfce4-whiskermenu-plugin/archive/refs/tags/v$pkgver.tar.gz" "better-icons.patch") docs=("readme*" "install" "copying*" "changelog" "authors" "news" "todo") url=https://github.com/gottcode/xfce4-whiskermenu-plugin slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfce4-whiskermenu-plugin (alternate application launcher for Xfce)" "Whisker Menu is an alternate application launcher for Xfce. When you" "open it you are shown a list of applications you have marked as" "favorites. You can browse through all of your installed applications" "by clicking on the category buttons on the side. Top level categories" "make browsing fast, and simple to switch between. Additionally," "Whisker Menu keeps a list of the last ten applications" "that you've launched from it." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/better-icons.patch || exit 1 mkdir -p build cd build # Your application will probably need different cmake flags; these are only # examples. You might want to run 'ccmake' inside the source main directory # to see available flags. cmake \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release \ .. make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg cd .. }