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

Alexander Rødseth arodseth at gemini.archlinux.org
Wed Nov 3 12:40:52 UTC 2021


    Date: Wednesday, November 3, 2021 @ 12:40:52
  Author: arodseth
Revision: 1035606

upgpkg: pekwm 0.2.0-1

Modified:
  pekwm/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 12:26:32 UTC (rev 1035605)
+++ PKGBUILD	2021-11-03 12:40:52 UTC (rev 1035606)
@@ -3,13 +3,13 @@
 # Contributor: Eddie Lozon <almostlucky at attbi.com>
 
 pkgname=pekwm
-pkgver=0.1.18
+pkgver=0.2.0
 pkgrel=1
 pkgdesc='Tabbed X11 window manager'
 arch=(x86_64)
 license=(GPL)
 url='https://github.com/pekdon/pekwm'
-makedepends=(gendesk git)
+makedepends=(cmake gendesk git ninja)
 depends=(libjpeg libxft libxinerama libxpm libxrandr)
 optdepends=('lxappearance: feature-rich GTK+ theme switcher'
             'nitrogen: background browser and setter'
@@ -26,28 +26,23 @@
         etc/pekwm/mouse_system
         etc/pekwm/start
         etc/pekwm/vars)
-source=("git+$url#tag=release-$pkgver")
-sha256sums=('SKIP')
+source=("git+$url#commit=4c5b4826df0efd037693d730d2bdf843e78b25a5") # tag: release-0.2.0
+b2sums=('SKIP')
 
 prepare() {
   gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc" --name PekWM
   gendesk -f -n -wm --pkgname ${pkgname}_kdm --exec $pkgname --name PekWM
-  cd $pkgname
-  ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
+  cmake -B build -S $pkgname -G Ninja
+  ninja -C build
 }
 
 package() {
-  make -C $pkgname DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
   install -Dm644 $pkgname.desktop \
     "$pkgdir"/usr/share/xsessions/$pkgname.desktop
   install -Dm644 ${pkgname}_kdm.desktop \
     "$pkgdir"/usr/share/apps/kdm/sessions/$pkgname.desktop
 }
-
-# getver: repology.org/metapackage/pekwm/information



More information about the arch-commits mailing list