[arch-commits] Commit in pekwm/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Wednesday, November 3, 2021 @ 12:40:57
  Author: arodseth
Revision: 1035607

archrelease: copy trunk to community-x86_64

Added:
  pekwm/repos/community-x86_64/PKGBUILD
    (from rev 1035606, pekwm/trunk/PKGBUILD)
Deleted:
  pekwm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 48 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 12:40:52 UTC (rev 1035606)
+++ PKGBUILD	2021-11-03 12:40:57 UTC (rev 1035607)
@@ -1,53 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Eddie Lozon <almostlucky at attbi.com>
-
-pkgname=pekwm
-pkgver=0.1.18
-pkgrel=1
-pkgdesc='Tabbed X11 window manager'
-arch=(x86_64)
-license=(GPL)
-url='https://github.com/pekdon/pekwm'
-makedepends=(gendesk git)
-depends=(libjpeg libxft libxinerama libxpm libxrandr)
-optdepends=('lxappearance: feature-rich GTK+ theme switcher'
-            'nitrogen: background browser and setter'
-            'tint2: basic, good-looking task manager')
-backup=(etc/pekwm/autoproperties
-        etc/pekwm/autoproperties_typerules
-        etc/pekwm/config
-        etc/pekwm/config_system
-        etc/pekwm/keys
-        etc/pekwm/menu
-        etc/pekwm/mouse
-        etc/pekwm/mouse_click
-        etc/pekwm/mouse_sloppy
-        etc/pekwm/mouse_system
-        etc/pekwm/start
-        etc/pekwm/vars)
-source=("git+$url#tag=release-$pkgver")
-sha256sums=('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
-}
-
-package() {
-  make -C $pkgname DESTDIR="$pkgdir" 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

Copied: pekwm/repos/community-x86_64/PKGBUILD (from rev 1035606, pekwm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-03 12:40:57 UTC (rev 1035607)
@@ -0,0 +1,48 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Eddie Lozon <almostlucky at attbi.com>
+
+pkgname=pekwm
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Tabbed X11 window manager'
+arch=(x86_64)
+license=(GPL)
+url='https://github.com/pekdon/pekwm'
+makedepends=(cmake gendesk git ninja)
+depends=(libjpeg libxft libxinerama libxpm libxrandr)
+optdepends=('lxappearance: feature-rich GTK+ theme switcher'
+            'nitrogen: background browser and setter'
+            'tint2: basic, good-looking task manager')
+backup=(etc/pekwm/autoproperties
+        etc/pekwm/autoproperties_typerules
+        etc/pekwm/config
+        etc/pekwm/config_system
+        etc/pekwm/keys
+        etc/pekwm/menu
+        etc/pekwm/mouse
+        etc/pekwm/mouse_click
+        etc/pekwm/mouse_sloppy
+        etc/pekwm/mouse_system
+        etc/pekwm/start
+        etc/pekwm/vars)
+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
+}
+
+build() {
+  cmake -B build -S $pkgname -G Ninja
+  ninja -C build
+}
+
+package() {
+  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
+}



More information about the arch-commits mailing list