[arch-commits] Commit in herbstluftwm/trunk (PKGBUILD)

Jonathan Steel jsteel at archlinux.org
Thu Apr 16 16:13:24 UTC 2020


    Date: Thursday, April 16, 2020 @ 16:13:23
  Author: jsteel
Revision: 615346

upgpkg: herbstluftwm 0.8.0-1

Modified:
  herbstluftwm/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-16 15:55:12 UTC (rev 615345)
+++ PKGBUILD	2020-04-16 16:13:23 UTC (rev 615346)
@@ -2,19 +2,20 @@
 # Contributor: thorsten w. <p at thorsten-wissmann.de>
 
 pkgname=herbstluftwm
-pkgver=0.7.2
+pkgver=0.8.0
 pkgrel=1
 pkgdesc="Manual tiling window manager for X"
 arch=('x86_64')
 url="https://herbstluftwm.org"
 license=('BSD')
-depends=('glib2' 'libxinerama')
+depends=('glib2' 'libxinerama' 'libxrandr')
+makedepends=('cmake' 'asciidoc')
 optdepends=('xorg-xsetroot: to set wallpaper color in default autostart'
             'xterm: used as the terminal in default autostart'
             'dzen2: used in the default panel.sh'
             'dmenu: used in some example scripts')
 source=(https://herbstluftwm.org/tarballs/$pkgname-$pkgver.tar.gz{,.sig})
-sha256sums=('dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd'
+sha256sums=('5823f1c1a6a6ae6d4f843992658fcdb91a246e7f337570ac9b2091f57265c812'
             'SKIP')
 validpgpkeys=('72B6C05CDFF309C6396167D464EF02821CAFF810') # Thorsten Wißmann <edu at thorsten-wissmann.de>
 
@@ -21,14 +22,20 @@
 build() {
   cd $pkgname-$pkgver
 
-  TERM=linux make
+  mkdir -p build; cd build
+
+  cmake \
+    -DBASHCOMPLETIONDIR=/usr/share/bash-completion/completions \
+    -DZSHCOMPLETIONDIR=/usr/share/zsh/functions/Completion/X \
+    -DCMAKE_INSTALL_PREFIX="/usr" ..
+
+  make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname-$pkgver/build
 
-  make PREFIX=/usr DESTDIR="$pkgdir" \
-    BASHCOMPLETIONDIR=/usr/share/bash-completion/completions install
+  make DESTDIR="$pkgdir" install
 
   install -d "$pkgdir"/usr/share/licenses/$pkgname/
 



More information about the arch-commits mailing list