diff options
Diffstat (limited to 'user/libfakekey/APKBUILD')
-rw-r--r-- | user/libfakekey/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libfakekey/APKBUILD b/user/libfakekey/APKBUILD new file mode 100644 index 000000000..d8221c552 --- /dev/null +++ b/user/libfakekey/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libfakekey +pkgver=0.3 +pkgrel=0 +pkgdesc="Library for faking X key-presses from character inputs" +url="https://www.yoctoproject.org/software-item/matchbox/" +arch="all" +license="LGPL-2.0+" +depends="" +makedepends="libx11-dev libxtst-dev" +subpackages="$pkgname-dev" +source="http://git.yoctoproject.org/cgit.cgi/libfakekey/snapshot/libfakekey-$pkgver.tar.gz" + +prepare() { + cd "$builddir" + default_prepare + autoreconf -vif +} + +build() { + cd "$builddir" + LIBS="-lX11" ./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="9c09007c6ab616095bdf69669cfdf0d176d44beaeb6b2a0fe8e310bb835d3f241ca7499dcb523c1eeeb24968ef908c1951f97352da419fc1bbb3883cb43dd963 libfakekey-0.3.tar.gz" |