[arch-commits] Commit in gpm/repos (10 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 21:43:36 UTC 2015


    Date: Sunday, September 6, 2015 @ 23:43:36
  Author: foutrelis
Revision: 245412

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gpm/repos/staging-i686/
  gpm/repos/staging-i686/PKGBUILD
    (from rev 245411, gpm/trunk/PKGBUILD)
  gpm/repos/staging-i686/gpm.install
    (from rev 245411, gpm/trunk/gpm.install)
  gpm/repos/staging-i686/gpm.service
    (from rev 245411, gpm/trunk/gpm.service)
  gpm/repos/staging-i686/gpm.sh
    (from rev 245411, gpm/trunk/gpm.sh)
  gpm/repos/staging-x86_64/
  gpm/repos/staging-x86_64/PKGBUILD
    (from rev 245411, gpm/trunk/PKGBUILD)
  gpm/repos/staging-x86_64/gpm.install
    (from rev 245411, gpm/trunk/gpm.install)
  gpm/repos/staging-x86_64/gpm.service
    (from rev 245411, gpm/trunk/gpm.service)
  gpm/repos/staging-x86_64/gpm.sh
    (from rev 245411, gpm/trunk/gpm.sh)

----------------------------+
 staging-i686/PKGBUILD      |   37 +++++++++++++++++++++++++++++++++++++
 staging-i686/gpm.install   |   16 ++++++++++++++++
 staging-i686/gpm.service   |    9 +++++++++
 staging-i686/gpm.sh        |    3 +++
 staging-x86_64/PKGBUILD    |   37 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/gpm.install |   16 ++++++++++++++++
 staging-x86_64/gpm.service |    9 +++++++++
 staging-x86_64/gpm.sh      |    3 +++
 8 files changed, 130 insertions(+)

Copied: gpm/repos/staging-i686/PKGBUILD (from rev 245411, gpm/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gpm
+pkgver=1.20.7
+pkgrel=5
+pkgdesc="A mouse server for the console and xterm"
+arch=('i686' 'x86_64')
+url="http://www.nico.schottelius.org/software/gpm/"
+license=('GPL')
+depends=('bash')
+options=('!makeflags')
+install=gpm.install
+source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma \
+        gpm.sh gpm.service)
+sha1sums=('8d9f3655c80ce7667d31ede2a100b44986480369'
+          '88fe5ff10916c68a87abc8418a56eb0073f69fa9'
+          'f9bde96eb9c78da9f225bcf40822647f6592cf23')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh"
+  install -D -m644 ../gpm.service "${pkgdir}/usr/lib/systemd/system/gpm.service"
+
+# library fixes
+  cd "${pkgdir}/usr/lib/"
+  ln -s libgpm.so.2.* libgpm.so
+  chmod 755 "${pkgdir}"/usr/lib/libgpm.so.*
+}

Copied: gpm/repos/staging-i686/gpm.install (from rev 245411, gpm/trunk/gpm.install)
===================================================================
--- staging-i686/gpm.install	                        (rev 0)
+++ staging-i686/gpm.install	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,16 @@
+infodir=/usr/share/info
+file=gpm.info.gz
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}

Copied: gpm/repos/staging-i686/gpm.service (from rev 245411, gpm/trunk/gpm.service)
===================================================================
--- staging-i686/gpm.service	                        (rev 0)
+++ staging-i686/gpm.service	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Virtual console mouse server
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/gpm -m /dev/input/mice -t imps2
+
+[Install]
+WantedBy=multi-user.target

Copied: gpm/repos/staging-i686/gpm.sh (from rev 245411, gpm/trunk/gpm.sh)
===================================================================
--- staging-i686/gpm.sh	                        (rev 0)
+++ staging-i686/gpm.sh	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,3 @@
+case $( /usr/bin/tty ) in
+    /dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
+esac

Copied: gpm/repos/staging-x86_64/PKGBUILD (from rev 245411, gpm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gpm
+pkgver=1.20.7
+pkgrel=5
+pkgdesc="A mouse server for the console and xterm"
+arch=('i686' 'x86_64')
+url="http://www.nico.schottelius.org/software/gpm/"
+license=('GPL')
+depends=('bash')
+options=('!makeflags')
+install=gpm.install
+source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma \
+        gpm.sh gpm.service)
+sha1sums=('8d9f3655c80ce7667d31ede2a100b44986480369'
+          '88fe5ff10916c68a87abc8418a56eb0073f69fa9'
+          'f9bde96eb9c78da9f225bcf40822647f6592cf23')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh"
+  install -D -m644 ../gpm.service "${pkgdir}/usr/lib/systemd/system/gpm.service"
+
+# library fixes
+  cd "${pkgdir}/usr/lib/"
+  ln -s libgpm.so.2.* libgpm.so
+  chmod 755 "${pkgdir}"/usr/lib/libgpm.so.*
+}

Copied: gpm/repos/staging-x86_64/gpm.install (from rev 245411, gpm/trunk/gpm.install)
===================================================================
--- staging-x86_64/gpm.install	                        (rev 0)
+++ staging-x86_64/gpm.install	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,16 @@
+infodir=/usr/share/info
+file=gpm.info.gz
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}

Copied: gpm/repos/staging-x86_64/gpm.service (from rev 245411, gpm/trunk/gpm.service)
===================================================================
--- staging-x86_64/gpm.service	                        (rev 0)
+++ staging-x86_64/gpm.service	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Virtual console mouse server
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/gpm -m /dev/input/mice -t imps2
+
+[Install]
+WantedBy=multi-user.target

Copied: gpm/repos/staging-x86_64/gpm.sh (from rev 245411, gpm/trunk/gpm.sh)
===================================================================
--- staging-x86_64/gpm.sh	                        (rev 0)
+++ staging-x86_64/gpm.sh	2015-09-06 21:43:36 UTC (rev 245412)
@@ -0,0 +1,3 @@
+case $( /usr/bin/tty ) in
+    /dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
+esac



More information about the arch-commits mailing list