aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcomposite/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxcomposite/APKBUILD')
-rw-r--r--main/libxcomposite/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD
index e07db149d2..2dbf1a8c2a 100644
--- a/main/libxcomposite/APKBUILD
+++ b/main/libxcomposite/APKBUILD
@@ -1,39 +1,40 @@
# 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
}