[arch-commits] Commit in ratpoison/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 19:23:32 UTC 2020


    Date: Tuesday, July 7, 2020 @ 19:23:32
  Author: foutrelis
Revision: 660153

archrelease: copy trunk to community-staging-x86_64

Added:
  ratpoison/repos/community-staging-x86_64/
  ratpoison/repos/community-staging-x86_64/PKGBUILD
    (from rev 660152, ratpoison/trunk/PKGBUILD)
  ratpoison/repos/community-staging-x86_64/ratpoison.desktop
    (from rev 660152, ratpoison/trunk/ratpoison.desktop)

-------------------+
 PKGBUILD          |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 ratpoison.desktop |    8 ++++++++
 2 files changed, 57 insertions(+)

Copied: ratpoison/repos/community-staging-x86_64/PKGBUILD (from rev 660152, ratpoison/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 19:23:32 UTC (rev 660153)
@@ -0,0 +1,49 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: juergen <juergen at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=ratpoison
+pkgver=1.4.9
+pkgrel=3
+pkgdesc="A simple keystroke-driven window manager"
+arch=('x86_64')
+license=('GPL')
+depends=('libxinerama' 'readline' 'bash' 'perl' 'libxtst' 'libxft' 'texinfo' 'libxrandr')
+url="https://www.nongnu.org/ratpoison/"
+source=("https://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        "${pkgname}.desktop")
+md5sums=('912b01564d24734e1a68d36e2d85faa4'
+         'SKIP'
+         '29c3cb9be59758e39d8471391231a74a')
+validpgpkeys=('513592C1AD3652932BDFDDCC0DFA74AE1524E7EE') # Jérémie Courrèges-Anglas <jca at wxcvbn.org>
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # FS#38726, v1.4.6-2 
+  sed -i 's|PRINT_ERROR (("XGetWMName|PRINT_DEBUG (("XGetWMName|' src/manage.c
+
+  ./configure --prefix=/usr
+  make CFLAGS="$CFLAGS -DHAVE_GETLINE"
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # fix permissions
+  chmod a+x "${pkgdir}/usr/share/ratpoison/"{allwindows.sh,clickframe.pl,rpshowall.sh,rpws,split.sh}
+
+  # Not useful outside the source tree.
+  rm "${pkgdir}/usr/share/ratpoison/genrpbindings"
+
+  cd contrib
+  ./genrpbindings
+  install -dm755 "${pkgdir}/usr/share/ratpoison/bindings"
+  install -m644 {Ratpoison.pm,ratpoison-cmd.el,ratpoison.rb,ratpoison.lisp,ratpoison.py} \
+    "${pkgdir}/usr/share/ratpoison/bindings/"
+
+  install -Dm644 "${srcdir}/${pkgname}.desktop" \
+    "${pkgdir}/etc/X11/sessions/${pkgname}.desktop"
+}

Copied: ratpoison/repos/community-staging-x86_64/ratpoison.desktop (from rev 660152, ratpoison/trunk/ratpoison.desktop)
===================================================================
--- community-staging-x86_64/ratpoison.desktop	                        (rev 0)
+++ community-staging-x86_64/ratpoison.desktop	2020-07-07 19:23:32 UTC (rev 660153)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Ratpoison
+Comment=The ratpoison window manager
+Exec=ratpoison
+# no icon yet, only the top three are currently used
+Icon=
+Type=Application


More information about the arch-commits mailing list