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

Alexander Rødseth arodseth at archlinux.org
Mon Feb 18 13:58:46 UTC 2019


    Date: Monday, February 18, 2019 @ 13:58:45
  Author: arodseth
Revision: 434234

archrelease: copy trunk to community-x86_64

Added:
  joyutils/repos/community-x86_64/PKGBUILD
    (from rev 434233, joyutils/trunk/PKGBUILD)
Deleted:
  joyutils/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 30 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-18 13:58:36 UTC (rev 434233)
+++ PKGBUILD	2019-02-18 13:58:45 UTC (rev 434234)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Arkham <arkham at archlinux.us>
-# Contributor: dirty_d <andrew2085 at gmail.com>
-
-pkgname=joyutils
-pkgver=1.2.15
-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/'
-license=('GPL')
-makedepends=('addinclude')
-conflicts=('linuxconsole')
-source=("ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/joystick-$pkgver.tar.gz")
-sha256sums=('532b3ad453824e7932c6b68b59c3a20b8c40f45c13c343d3cb109ca08296716d')
-
-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
-}
-
-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/"
-}
-
-# vim: ts=2 sw=2 et:

Copied: joyutils/repos/community-x86_64/PKGBUILD (from rev 434233, joyutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-18 13:58:45 UTC (rev 434234)
@@ -0,0 +1,30 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Arkham <arkham at archlinux.us>
+# Contributor: dirty_d <andrew2085 at gmail.com>
+
+pkgname=joyutils
+pkgver=1.6.1
+pkgrel=1
+pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
+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() {
+  make -C linuxconsoletools-$pkgver
+}
+
+package() {
+  DESTDIR="$pkgdir" PREFIX=/usr make -C linuxconsoletools-$pkgver install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list