core/xorg-xmodmap/PKGBUILD

28 lines
716 B
Bash
Raw Normal View History

2014-06-29 04:12:05 +08:00
# Maintainer: Drake Justice <djustice@chakraos.org>
pkgname=xorg-xmodmap
pkgver=1.0.8
pkgrel=1
pkgdesc="Utility for modifying keymaps and button mappings"
arch=('x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xmodmap-${pkgver}.tar.bz2)
sha256sums=('efe2e3c89858a2db3bdcf969f55f55d0af4f5007789198344de0595249a99fc3')
build() {
cd "${srcdir}/xmodmap-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/xmodmap-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}