Commit 21e70eae authored by A. Wilcox's avatar A. Wilcox Committed by Francesco Colista

main/libxcomposite: modernise, fix deps, mark no test

parent b9a4cc5b
# Maintainer: Natanael Copa <> # Maintainer: Natanael Copa <>
pkgname=libxcomposite pkgname=libxcomposite
pkgver=0.4.4 pkgver=0.4.4
pkgrel=0 pkgrel=1
pkgdesc="X11 Composite extension library" pkgdesc="X11 Composite extension library"
url="" url=""
arch="all" arch="all"
license="custom" license="custom"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
depends= depends=
depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev" depends_dev="libxext-dev"
makedepends="libxfixes-dev libxext-dev compositeproto" makedepends="libx11-dev libxext-dev libxfixes-dev compositeproto util-macros xproto"
source="$pkgver.tar.bz2" source="$pkgver.tar.bz2"
_builddir="$srcdir"/libXcomposite-$pkgver builddir="$srcdir"/libXcomposite-$pkgver
prepare() { prepare() {
cd "$_builddir" cd "$builddir"
chmod u+w config.sub chmod u+w config.sub
update_config_sub || return 1 update_config_sub
} }
build() { build() {
cd "$_builddir" cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc
|| return 1 make
make || return 1
} }
package() { package() {
cd "$_builddir" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment