diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-25 04:35:41 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-25 04:35:41 +0000 |
commit | 2aac7c91d6a22da9af6ac791200ecae2fd64fd4e (patch) | |
tree | 767814e8ae339c1379444d061eb47c81a590e112 /user/libfakekey/APKBUILD | |
parent | 13fa4c900a5d7825c4802b12cecdf6e22e9dfac8 (diff) | |
parent | dc9e13229a7c2d216ec98a16075601b9540f7e53 (diff) | |
download | packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.gz packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.bz2 packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.tar.xz packages-2aac7c91d6a22da9af6ac791200ecae2fd64fd4e.zip |
Merge branch 'desktops.mate' into 'master'
Package the MATE desktop environment
See merge request !207
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..43863fa6b --- /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.1 +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://downloads.yoctoproject.org/releases/matchbox/libfakekey/$pkgver/libfakekey-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +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="1fda0548cf14657083a6602f8d6c08efae8cae2236de7ed17fc4058765156c6bb923956e3c7fd75f2db586399f1d8a3320ab5bbed71cc5a8b0d146590a14a808 libfakekey-0.1.tar.bz2" |