blob: 06f0361cbcc6f3c2aae6b1d45cd9b63898e88615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Joel Teichroeb <joel@teichroeb.net>
pkgname=libxkbcommon-git
pkgver=0.5.0.r12.g8e1fed6
pkgrel=1
pkgdesc="A library to handle keyboard descriptions."
url="http://xkbcommon.org/"
arch=(i686 x86_64)
license=('custom')
depends=('glibc' 'xkeyboard-config')
makedepends=('git' 'xorg-util-macros' 'libxcb' 'doxygen')
provides=('libxkbcommon' 'libxkbcommon-x11')
replaces=('libxkbcommon' 'libxkbcommon-x11')
source=(git://github.com/xkbcommon/libxkbcommon.git)
sha1sums=('SKIP')
pkgver() {
cd libxkbcommon
git describe --long | sed -r 's/^xkbcommon.//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd libxkbcommon
./autogen.sh --prefix=/usr --disable-static
make
}
package() {
cd libxkbcommon
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
make DESTDIR=${pkgdir} install
}
|