upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / joyutils / trunk / PKGBUILD
blobb0a94d92f0c30d7b694e28f0e5b42a575eb5890c
1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: loqs
3 # Contributor: Arkham <arkham@archlinux.us>
4 # Contributor: dirty_d <andrew2085@gmail.com>
6 pkgname=joyutils
7 pkgver=1.8.1
8 pkgrel=1
9 pkgdesc='jscal, jstest, and jsattach utilities for the Linux joystick driver'
10 arch=(x86_64)
11 license=(GPL)
12 url='https://packages.debian.org/sid/joystick'
13 conflicts=(linuxconsole)
14 depends=(sdl2)
15 source=("https://deb.debian.org/debian/pool/main/j/joystick/joystick_$pkgver.orig.tar.bz2")
16 b2sums=('a0fab44762d9f4edcc1e85037efada2dac617873548579a83c3e7791e5a047e1c88243978fee562992f363102a0cb415c75d1286a3eb46a42dfe6afc7e9a0594')
18 prepare() {
19   ln -sf "linuxconsoletools-$pkgver" $pkgname
20   sed -i 's,IR)/lib,IR)$(PREFIX)/lib,g' $pkgname/utils/Makefile
23 build() {
24   PREFIX=/usr make -C $pkgname
27 package() {
28   DESTDIR="$pkgdir" PREFIX=/usr make -C $pkgname install