blob: 0ab421387fa0f747b39e280e99ea12202afe6655 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linuxconsoletools
pkgver=1.4.9
pkgrel=0
pkgdesc="Tools for connecting joysticks & legacy devices to the kernels input subsystem"
url="http://sourceforge.net/projects/linuxconsole/"
arch="all"
license="GPLv2+"
depends=""
depends_dev=""
makedepends="$depends_dev linux-headers sdl-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-$pkgver.tar.bz2
sys-time.patch"
_builddir="$srcdir"/linuxconsoletools-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}
md5sums="9b91718fefabc021ca7a5adbf13e3fde linuxconsoletools-1.4.9.tar.bz2
e51dda85eea08232d8013781e7756d2d sys-time.patch"
sha256sums="fa9c64f98cd991e71e23fa9b673635e23f0b69f0325593c0a56b8960bb139b67 linuxconsoletools-1.4.9.tar.bz2
295925633ceb5e8aa3033b3b4b04276e4cdca6646c1c52bf5cee09ec8f1aa9ce sys-time.patch"
sha512sums="c2ea4f8f868b3d616bb0a4b84d6a051ed444251cc5d40c775863a5163359c9c34ee9647ff1c74e8659f7fef10d8722b4431b2e1706cf5052505731c1a1232ddd linuxconsoletools-1.4.9.tar.bz2
a96b37a365a5fb067d017b3790f4e09fd733639a5e65f93d44138e89efbcedc87b11a35f39f40623cdac743207349fbb28d4de982d5694a6f9b8981bce29dd68 sys-time.patch"
|