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

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 17:34:49
  Author: felixonmars
Revision: 659793

upgpkg: joyutils 1.6.1-2: reproducibility rebuild

Modified:
  joyutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-07 17:34:42 UTC (rev 659792)
+++ PKGBUILD2020-07-07 17:34:49 UTC (rev 659793)
@@ -4,7 +4,7 @@
 
 pkgname=joyutils
 pkgver=1.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
 arch=(x86_64)
 license=(GPL)


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

2019-02-18 Thread Alexander Rødseth via arch-commits
Date: Monday, February 18, 2019 @ 13:58:36
  Author: arodseth
Revision: 434233

upgpkg: joyutils 1.6.1-1

Modified:
  joyutils/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 17 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-18 13:06:39 UTC (rev 434232)
+++ PKGBUILD2019-02-18 13:58:36 UTC (rev 434233)
@@ -1,37 +1,30 @@
-# Maintainer: Alexander F Rødseth 
+# Maintainer: Alexander F. Rødseth 
 # Contributor: Arkham 
 # Contributor: dirty_d 
 
 pkgname=joyutils
-pkgver=1.2.15
-pkgrel=9
+pkgver=1.6.1
+pkgrel=1
 pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
-arch=('x86_64')
-url='http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/'
-license=('GPL')
-makedepends=('addinclude')
-conflicts=('linuxconsole')
-source=("ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/joystick-$pkgver.tar.gz";)
-sha256sums=('532b3ad453824e7932c6b68b59c3a20b8c40f45c13c343d3cb109ca08296716d')
+arch=(x86_64)
+license=(GPL)
+url='https://packages.debian.org/sid/joystick'
+conflicts=(linuxconsole)
+depends=(sdl)
+source=("https://deb.debian.org/debian/pool/main/j/joystick/joystick_$pkgver.orig.tar.bz2";)
+sha256sums=('e9d6b05a6c57c7eb3ec7f9f017f46b20e4b55d5a02f930eff1823a13921c5934')
 
+prepare() {
+  sed -i 's,DESTDIR)/lib,DESTDIR)$(PREFIX)/lib,g' \
+linuxconsoletools-$pkgver/utils/Makefile
+}
+
 build() {
-  cd "joystick-$pkgver"
-
-  addinclude jscal.c stdlib
-  gcc -lm -o jscal jscal.c $CFLAGS
-  gcc -o jstest jstest.c $CFLAGS
-  gcc -o jsattach jsattach.c $CFLAGS
+  make -C linuxconsoletools-$pkgver
 }
 
 package() {
-  cd "joystick-$pkgver"
-
-  install -Dm 755 jscal "$pkgdir/usr/bin/jscal"
-  install -m 755 jstest "$pkgdir/usr/bin/"
-  install -m 755 jsattach "$pkgdir/usr/bin/"
-  install -Dm 644 jscal.1 "$pkgdir/usr/share/man/man1/jscal.1"
-  install -m 644 jstest.1 "$pkgdir/usr/share/man/man1/"
-  install -m 644 jsattach.1 "$pkgdir/usr/share/man/man1/"
+  DESTDIR="$pkgdir" PREFIX=/usr make -C linuxconsoletools-$pkgver install
 }
 
 # vim: ts=2 sw=2 et:


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

2018-06-03 Thread Alexander Rødseth via arch-commits
Date: Sunday, June 3, 2018 @ 21:58:51
  Author: arodseth
Revision: 339546

upgpkg: joyutils 1.2.15-9

Modified:
  joyutils/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 21:35:15 UTC (rev 339545)
+++ PKGBUILD2018-06-03 21:58:51 UTC (rev 339546)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Alexander F Rødseth 
 # Contributor: Arkham 
 # Contributor: dirty_d 
@@ -4,7 +5,7 @@
 
 pkgname=joyutils
 pkgver=1.2.15
-pkgrel=8
+pkgrel=9
 pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
 arch=('x86_64')
 url='http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/'
@@ -34,4 +35,4 @@
   install -m 644 jsattach.1 "$pkgdir/usr/share/man/man1/"
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:


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

2015-12-14 Thread Alexander Rødseth
Date: Monday, December 14, 2015 @ 23:30:34
  Author: arodseth
Revision: 153326

upgpkg: joyutils 1.2.15-8

Modified:
  joyutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-14 22:29:31 UTC (rev 153325)
+++ PKGBUILD2015-12-14 22:30:34 UTC (rev 153326)
@@ -4,7 +4,7 @@
 
 pkgname=joyutils
 pkgver=1.2.15
-pkgrel=7
+pkgrel=8
 pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
 arch=('x86_64' 'i686')
 url='http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/'