git » kbd.git » main » tree

[main] / PKGBUILD

pkgname=kbd
pkgver=2.6.4
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz"
	"$pkgname-$pkgver-backspace-1.patch"
)

prepare() {
	cd "$pkgname-$pkgver"
	patch -Np1 -i "$srcdir/$pkgname-$pkgver-backspace-1.patch"
	sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
	sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
}

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr --disable-vlock
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}
sha256sums=('519f8d087aecca7e0a33cd084bef92c066eb19731666653dcc70c9d71aa40926'
            '8be28dcb11420624a500f2ea4fe975f771174bffee50e54ec8cd295a2dec104e')