aports/testing/kbdd/APKBUILD
Milan P. Stanić 6030b22c15 testing/kbdd: new aport
https://github.com/qnikst/kbdd
Simple daemon and library to make per window layout using XKB
2022-05-13 14:20:39 +00:00

49 lines
1.1 KiB
Plaintext

# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=kbdd
_pkgver=0.7.1
pkgver=${_pkgver}_git20210426
pkgrel=0
_commitid=3145099e1fbbe65b27678be72465aaa5b5872874
pkgdesc="simple daemon and library to make per window layout using xkb"
url="https://github.com/qnikst/kbdd"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake libx11-dev glib-dev dbus-glib-dev"
subpackages="$pkgname-doc"
source="https://github.com/qnikst/kbdd/archive/$_commitid.tar.gz"
builddir="$srcdir/"$pkgname-$_commitid
prepare() {
default_prepare
aclocal
autoheader
automake --add-missing
autoreconf
}
build() {
./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="
59b16e246ee6728d701bb76c36a9ae3c7bce20945e68365e22665d20c143b3c2f8ce4c0d0b91f5da8c2d60509e49400a5427aed467504359b9f238f7f9428d0a 3145099e1fbbe65b27678be72465aaa5b5872874.tar.gz
"