aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linuxconsoletools/APKBUILD
blob: 988a7c4cad8ff6dbc193dc450d711e95bc8bc961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linuxconsoletools
pkgver=1.6.0
pkgrel=1
pkgdesc="Tools for connecting joysticks & legacy devices to the kernels input subsystem"
url="https://sourceforge.net/projects/linuxconsole/"
arch="all"
license="GPL-2.0-or-later"
makedepends="linux-headers sdl-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/linuxconsole/linuxconsoletools-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	make PREFIX=/usr  DESTDIR="$pkgdir" install
}

sha512sums="35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75  linuxconsoletools-1.6.0.tar.bz2"