main/libxcb: clarify license, improve abuild

This commit is contained in:
prspkt 2018-05-29 19:04:04 +00:00 committed by Leonardo Arena
parent b135ff5ed4
commit 91418f2019

View File

@ -1,16 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcb
pkgver=1.13
pkgrel=0
pkgrel=1
pkgdesc="X11 client-side library"
url="https://xcb.freedesktop.org/"
url="https://xcb.freedesktop.org"
arch="all"
license="custom"
license="MIT"
depends=
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libxau-dev xcb-proto"
checkdepends="check-dev"
makedepends="$depends_dev libxslt python3 libpthread-stubs libxdmcp-dev"
makedepends="$depends_dev libpthread-stubs libxdmcp-dev libxslt python3"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
@ -23,14 +23,13 @@ build() {
--prefix=/usr \
--enable-xkb \
--enable-xinput \
--disable-xprint \
--disable-xprint
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
check() {