summaryrefslogblamecommitdiff
path: root/user/libxxf86misc/APKBUILD
blob: b092aa30dc6f901c5aa831477ad3c4795cdbb1cc (plain) (tree)







































                                                                                                                                                                         
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxxf86misc
pkgver=1.0.3
pkgrel=2
pkgdesc="X11 XFree86 miscellaneous extension library"
url="https://www.X.Org/"
arch="all"
license="X11"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
source="https://www.X.Org/releases/individual/lib/libXxf86misc-$pkgver.tar.bz2"
builddir="$srcdir/libXxf86misc-$pkgver"

prepare() {
	cd "$builddir"
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="4df80bdf6cae9f43a1ddf09b078f354d0cfcab1861d073f3d274bc3a5dd0efe1057abae792f6c512e8f45286a62db95f85bf8c02de23fe96a76d8972cc1fdb7f  libXxf86misc-1.0.3.tar.bz2"