diff --git a/main/libfakekey/APKBUILD b/main/libfakekey/APKBUILD new file mode 100644 index 000000000..8727ccc8f --- /dev/null +++ b/main/libfakekey/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: drebrez +# Maintainer: drebrez +pkgname=libfakekey +pkgver=0.1 +pkgrel=0 +pkgdesc="X virtual keyboard library" +url="https://www.yoctoproject.org/tools-resources/projects/matchbox" +arch="all" +license="GPL" +depends="libxtst" +makedepends="autoconf automake libtool libxtst-dev" +source="$pkgname-$pkgver.tar.bz2::https://downloads.yoctoproject.org/releases/matchbox/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" +options="!check" + +prepare() { + default_prepare + update_config_sub + update_config_guess +} + +build() { + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static + make AM_LDFLAGS=-lX11 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="1fda0548cf14657083a6602f8d6c08efae8cae2236de7ed17fc4058765156c6bb923956e3c7fd75f2db586399f1d8a3320ab5bbed71cc5a8b0d146590a14a808 libfakekey-0.1.tar.bz2" diff --git a/main/matchbox-keyboard/APKBUILD b/main/matchbox-keyboard/APKBUILD new file mode 100644 index 000000000..ef9a8f85d --- /dev/null +++ b/main/matchbox-keyboard/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: drebrez +# Maintainer: drebrez +pkgname=matchbox-keyboard +pkgver=0.1.1 +pkgrel=0 +pkgdesc="An on screen virtual keyboard" +url="http://matchbox-project.org/" +arch="all" +license="GPL" +depends="libfakekey libxft" +makedepends="autoconf automake libtool libxft-dev libxtst-dev" +source="$pkgname-$pkgver.tar.bz2::http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/snapshot/matchbox-keyboard-$pkgver.tar.bz2" + +build() { + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="388298370cd69155a8a11efb2198522fd2757b48861b110998eea38f31ded490d2ba0ee1a715d4a4f76a8e51411e5b3963229938d0be7d44a796e0543b8afa3e matchbox-keyboard-0.1.1.tar.bz2"