aports: packaged matchbox-keyboard (#1001)

This commit is contained in:
drebrez 2017-12-12 20:40:12 +01:00 committed by Oliver Smith
parent 7342bc29d9
commit ef3ce5e6a9
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Contributor: drebrez <drebrez@gmail.com>
# Maintainer: drebrez <drebrez@gmail.com>
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"

View File

@ -0,0 +1,25 @@
# Contributor: drebrez <drebrez@gmail.com>
# Maintainer: drebrez <drebrez@gmail.com>
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"