mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/libxcb: clarify license, improve abuild
This commit is contained in:
parent
b135ff5ed4
commit
91418f2019
@ -1,16 +1,16 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=libxcb
|
pkgname=libxcb
|
||||||
pkgver=1.13
|
pkgver=1.13
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="X11 client-side library"
|
pkgdesc="X11 client-side library"
|
||||||
url="https://xcb.freedesktop.org/"
|
url="https://xcb.freedesktop.org"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="custom"
|
license="MIT"
|
||||||
depends=
|
depends=
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
subpackages="$pkgname-dev $pkgname-doc"
|
||||||
depends_dev="libxau-dev xcb-proto"
|
depends_dev="libxau-dev xcb-proto"
|
||||||
checkdepends="check-dev"
|
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"
|
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
|
||||||
|
|
||||||
builddir="$srcdir"/$pkgname-$pkgver
|
builddir="$srcdir"/$pkgname-$pkgver
|
||||||
@ -23,14 +23,13 @@ build() {
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-xkb \
|
--enable-xkb \
|
||||||
--enable-xinput \
|
--enable-xinput \
|
||||||
--disable-xprint \
|
--disable-xprint
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
Loading…
Reference in New Issue
Block a user