mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=libxkbcommon
|
|
pkgver=0.5.0
|
|
pkgrel=0
|
|
pkgdesc="a keyboard handling library"
|
|
url="http://www.xkbcommon.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev bison flex libxcb-dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
|
|
|
|
_builddir="$srcdir"/libxkbcommon-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="2e1faeafcc609c30af3a561a91e84158 libxkbcommon-0.5.0.tar.xz"
|
|
sha256sums="90bd7824742b9a6f52a6cf80e2cadd6f5349cf600a358d08260772615b89d19c libxkbcommon-0.5.0.tar.xz"
|
|
sha512sums="63ef6b586743a1fbee1e4a92dd9709eedfd66d4ed1f342976534a2c818b896aaab7712ea6871abb19845439cae4b17b2e624f1ae279da151ddead53f22a48c2e libxkbcommon-0.5.0.tar.xz"
|