mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:37:15 +08:00
43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
|
# $Id: PKGBUILD 61601 2009-12-19 21:31:47Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
pkgname=xorg-xkb-utils
|
||
|
pkgver=7.5
|
||
|
pkgrel=2
|
||
|
pkgdesc="X.org keyboard utilities"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://xorg.freedesktop.org/"
|
||
|
license=('custom')
|
||
|
depends=('libxaw>=1.0.5' 'libxkbfile')
|
||
|
makedepends=(pkgconfig inputproto)
|
||
|
source=(${url}/releases/individual/app/xkbutils-1.0.2.tar.bz2
|
||
|
${url}/releases/individual/app/xkbcomp-1.1.1.tar.bz2
|
||
|
${url}/releases/individual/app/xkbevd-1.1.0.tar.bz2
|
||
|
${url}/releases/individual/app/setxkbmap-1.1.0.tar.bz2
|
||
|
${url}/releases/individual/app/xkbprint-1.0.2.tar.bz2
|
||
|
LICENSE.setxkbmap LICENSE.xkbevd LICENSE.xkbutils)
|
||
|
md5sums=('369a21641b7ca983d6641298e51d97f8'
|
||
|
'38c387bacdc01038c8ac280588792bcf'
|
||
|
'8d3c1485c2dd62ea7395a37377958a39'
|
||
|
'2f902e0a89aaf2b19e06e7f26c6efb3a'
|
||
|
'3d3eb10466442354d6b73b503b9829db'
|
||
|
'7c20baa6a26c32a04b1b1d6cbaa626a7'
|
||
|
'7b1fc39455375a25afe6f9594ff979ac'
|
||
|
'7b1fc39455375a25afe6f9594ff979ac')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}"
|
||
|
for i in *; do
|
||
|
if [ -d "${i}" ]; then
|
||
|
pushd "${i}"
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.${i%-*} || return 1
|
||
|
popd
|
||
|
fi
|
||
|
done
|
||
|
# Replacing stub license files
|
||
|
install -D -m644 "${srcdir}"/LICENSE.* "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
||
|
}
|