summaryrefslogtreecommitdiff
path: root/user/xf86-input-joystick/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:16:06 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:16:06 +0000
commitf2aa1d4f0f411bc058e54fc3594eefb6ef1da057 (patch)
tree01d0a9946a81c53171f98f62015189f8476e76ed /user/xf86-input-joystick/APKBUILD
parentde507c2a97b4444b748d90914d5e18826f7400cb (diff)
downloadpackages-f2aa1d4f0f411bc058e54fc3594eefb6ef1da057.tar.gz
packages-f2aa1d4f0f411bc058e54fc3594eefb6ef1da057.tar.bz2
packages-f2aa1d4f0f411bc058e54fc3594eefb6ef1da057.tar.xz
packages-f2aa1d4f0f411bc058e54fc3594eefb6ef1da057.zip
user/xf86-input-joystick: new package
Diffstat (limited to 'user/xf86-input-joystick/APKBUILD')
-rw-r--r--user/xf86-input-joystick/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xf86-input-joystick/APKBUILD b/user/xf86-input-joystick/APKBUILD
new file mode 100644
index 000000000..c71441234
--- /dev/null
+++ b/user/xf86-input-joystick/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-input-joystick
+pkgver=1.6.3
+pkgrel=0
+pkgdesc="X.Org joystick driver"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="util-macros xorgproto-dev xorg-server-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/driver/xf86-input-joystick-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="541c993bd37dd74d96d90060407d9fb9ebd3fbca352189a08c6b0c899c84609a1b5a3c1ea3febb4ceb5e2b881b54e45c75b8f9b2e475e16d7cffbbe42a3221e5 xf86-input-joystick-1.6.3.tar.bz2"