diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 04:14:02 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 04:14:02 -0500 |
commit | 0024a30a8b56a36ece2f2716e5ee2136849a2dcc (patch) | |
tree | ea74a0e817df70090f811cf07e8f366307f9bf59 /user/libxcomposite/APKBUILD | |
parent | 52da5cde1779e2b56aca593633be04c717bc0046 (diff) | |
download | packages-0024a30a8b56a36ece2f2716e5ee2136849a2dcc.tar.gz packages-0024a30a8b56a36ece2f2716e5ee2136849a2dcc.tar.bz2 packages-0024a30a8b56a36ece2f2716e5ee2136849a2dcc.tar.xz packages-0024a30a8b56a36ece2f2716e5ee2136849a2dcc.zip |
user/libxcomposite: pull in, take, fix
Diffstat (limited to 'user/libxcomposite/APKBUILD')
-rw-r--r-- | user/libxcomposite/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/libxcomposite/APKBUILD b/user/libxcomposite/APKBUILD new file mode 100644 index 000000000..6ce9263b9 --- /dev/null +++ b/user/libxcomposite/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxcomposite +pkgver=0.4.4 +pkgrel=2 +pkgdesc="X11 Composite extension library" +url="https://www.X.Org/" +arch="all" +license="MIT" +subpackages="$pkgname-dev $pkgname-doc" +depends= +depends_dev="libxext-dev" +makedepends="libx11-dev libxext-dev libxfixes-dev util-macros xorgproto-dev" +source="https://www.X.Org/releases/individual/lib/libXcomposite-$pkgver.tar.bz2" +builddir="$srcdir"/libXcomposite-$pkgver + +prepare() { + cd "$builddir" + chmod u+w config.sub + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="b15f8fdbe4cb7488bdad161d73ef8e59ef603c5af92d7b573110ba136d7d4ce3749aac45972bce87662b0310b67e831cffad72c45c15bfff988b5b555d4c884b libXcomposite-0.4.4.tar.bz2" |