aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/kbd/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/kbd/APKBUILD b/main/kbd/APKBUILD
index 8eb134f129..bb64776d43 100644
--- a/main/kbd/APKBUILD
+++ b/main/kbd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kbd
pkgver=2.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Tools for configuring the console (keyboard, virtual terminals, etc.)"
url="http://ftp.altlinux.org/pub/people/legion/kbd"
arch="all"
@@ -42,7 +42,7 @@ prepare() {
mv qwerty/cz.map qwerty/cz-qwerty.map
}
-_datadir=/lib/kbd
+_datadir=/usr/share
build() {
cd "$_builddir"
./configure \
@@ -50,7 +50,7 @@ build() {
--host=$CHOST \
--disable-nls \
--prefix=/usr \
- --datadir=$_datadir \
+ --datadir=${_datadir} \
--htmldir=/usr/share/html/$pkgname \
|| return 1
make || return 1
@@ -64,7 +64,7 @@ package() {
rm -f "$pkgdir"${_datadir}/keymaps/i386/qwerty/ro_win.map.gz
# Create additional name for Serbian latin keyboard
- ln -s sr-cy.map.gz "$pkgdir"$_datadir/keymaps/i386/qwerty/sr-latin.map.gz
+ ln -s sr-cy.map.gz "$pkgdir"${_datadir}/keymaps/i386/qwerty/sr-latin.map.gz
# The rhpl keyboard layout table is indexed by kbd layout names,
# so we need a Korean keyboard
@@ -99,9 +99,9 @@ misc() {
arch="noarch"
depends=
- mkdir -p "$subpkgdir"$_datadir
+ mkdir -p "$subpkgdir"${_datadir}
for dir in consolefonts consoletrans keymaps unimaps; do
- mv "$pkgdir"$_datadir/${dir} "$subpkgdir"/$_datadir/ \
+ mv "$pkgdir"${_datadir}/${dir} "$subpkgdir"/${_datadir}/ \
|| return 1
done
}