mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
891 B
Bash
27 lines
891 B
Bash
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
|
pkgname=kbd
|
|
pkgver=1.15
|
|
pkgrel=1
|
|
pkgdesc="Keytable files and keyboard utilities"
|
|
arch=(arm)
|
|
url="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
|
|
license=('GPL')
|
|
groups=('base')
|
|
depends=('glibc')
|
|
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('ba3fd20e6c79e58422c3cc6b28718939')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
|
|
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes || return 1
|
|
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${startdir}/pkg install
|
|
|
|
# this is needed because initscripts call /bin/loadkeys
|
|
# remove this when next versions of kbd
|
|
# and initscripts with /usr/bin/loadkeys usage will be released
|
|
mkdir ${startdir}/pkg/bin
|
|
ln -s /usr/bin/loadkeys ${startdir}/pkg/bin/loadkeys
|
|
|
|
}
|
|
|