[arch-commits] Commit in joyutils/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Mar 15 10:45:09 UTC 2021
Date: Monday, March 15, 2021 @ 10:45:09
Author: arodseth
Revision: 891470
upgpkg: joyutils 1.7.1-1
Modified:
joyutils/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-15 10:25:23 UTC (rev 891469)
+++ PKGBUILD 2021-03-15 10:45:09 UTC (rev 891470)
@@ -3,28 +3,26 @@
# Contributor: dirty_d <andrew2085 at gmail.com>
pkgname=joyutils
-pkgver=1.6.1
-pkgrel=2
+pkgver=1.7.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)
+depends=(awk sdl2)
source=("https://deb.debian.org/debian/pool/main/j/joystick/joystick_$pkgver.orig.tar.bz2")
-sha256sums=('e9d6b05a6c57c7eb3ec7f9f017f46b20e4b55d5a02f930eff1823a13921c5934')
+sha256sums=('bd4d4b7e37da02fc67e47ddf20b6f1243c0a7af7b02b918d5e72138ea8727547')
prepare() {
- sed -i 's,DESTDIR)/lib,DESTDIR)$(PREFIX)/lib,g' \
- linuxconsoletools-$pkgver/utils/Makefile
+ ln -sf "linuxconsoletools-$pkgver" $pkgname
+ sed -i 's,IR)/lib,IR)$(PREFIX)/lib,g' $pkgname/utils/Makefile
}
build() {
- make -C linuxconsoletools-$pkgver
+ make -C $pkgname
}
package() {
- DESTDIR="$pkgdir" PREFIX=/usr make -C linuxconsoletools-$pkgver install
+ DESTDIR="$pkgdir" PREFIX=/usr make -C $pkgname install
}
-
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list