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 <ncopa@alpinelinux.org>
pkgname=libxcomposite
pkgver=0.4.4
pkgrel=0
pkgrel=1
pkgdesc="X11 Composite extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
makedepends="libxfixes-dev libxext-dev compositeproto"
depends_dev="libxext-dev"
makedepends="libx11-dev libxext-dev libxfixes-dev compositeproto util-macros xproto"
source="http://www.x.org/releases/individual/lib/libXcomposite-$pkgver.tar.bz2"
_builddir="$srcdir"/libXcomposite-$pkgver
builddir="$srcdir"/libXcomposite-$pkgver
prepare() {
cd "$_builddir"
cd "$builddir"
chmod u+w config.sub
update_config_sub || return 1
update_config_sub
default_prepare
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
--sysconfdir=/etc
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
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