[arch-commits] Commit in xfce4-whiskermenu-plugin/trunk (2 files)

Alexander Rødseth arodseth at archlinux.org
Sat May 28 17:12:16 UTC 2016


    Date: Saturday, May 28, 2016 @ 19:12:16
  Author: arodseth
Revision: 177374

upgpkg: xfce4-whiskermenu-plugin 1.5.3-2

Modified:
  xfce4-whiskermenu-plugin/trunk/PKGBUILD
Deleted:
  xfce4-whiskermenu-plugin/trunk/xfce4-whiskermenu-plugin.install

----------------------------------+
 PKGBUILD                         |   22 +++++++++++-----------
 xfce4-whiskermenu-plugin.install |   13 -------------
 2 files changed, 11 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-28 16:28:08 UTC (rev 177373)
+++ PKGBUILD	2016-05-28 17:12:16 UTC (rev 177374)
@@ -4,31 +4,31 @@
 
 pkgname=xfce4-whiskermenu-plugin
 pkgver=1.5.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Alternate menu for Xfce4'
 arch=('x86_64' 'i686')
-url="http://gottcode.org/xfce4-whiskermenu-plugin/"
+url='http://gottcode.org/xfce4-whiskermenu-plugin/'
 groups=('xfce4-goodies')
 license=('GPL2')
 depends=('xfce4-panel')
-makedepends=('cmake')
-install="$pkgname.install"
-source=("http://gottcode.org/$pkgname/$pkgname-$pkgver.tar.bz2")
+makedepends=('cmake' 'ninja')
+#source=("http://gottcode.org/$pkgname/$pkgname-$pkgver.tar.bz2")
 source=("http://mirror.netcologne.de/xfce/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2")
 sha256sums=('68a8273395671d5163fd8cd9a73755ef03d4ea74891204498a21582a9c2e925b')
 
 build() {
-  cd "$pkgname-$pkgver"
-
-  cmake \
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgname-$pkgver" \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -GNinja
+  ninja
 }
 
 package() {
-  make -C "$pkgname-$pkgver" install DESTDIR="$pkgdir"
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
 # vim:set ts=2 sw=2 et:

Deleted: xfce4-whiskermenu-plugin.install
===================================================================
--- xfce4-whiskermenu-plugin.install	2016-05-28 16:28:08 UTC (rev 177373)
+++ xfce4-whiskermenu-plugin.install	2016-05-28 17:12:16 UTC (rev 177374)
@@ -1,13 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list