summaryrefslogblamecommitdiff
path: root/user/libxmu/APKBUILD
blob: 80ec63ade24443413352c1d037e9cd26a502866d (plain) (tree)




































                                                                                                                                                                   
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxmu
pkgver=1.1.2
pkgrel=2
pkgdesc="X11 miscellaneous micro-utility library"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="X11 AND MIT"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="util-linux-dev"
makedepends="$depends_dev libsm-dev libx11-dev libxext-dev libxt-dev
	util-macros xmlto"
source="https://www.X.Org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
builddir="$srcdir"/libXmu-$pkgver

build()
{
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--without-fop
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
		$pkgdir/usr/share/licenses/$pkgname/COPYING
}

sha512sums="eba4e3d10f7d75ba8464881fb69f295a89774a4b37793197d75f3312e3a342b2df8b7e13e3f5c887962704329b5347ff2f3395e229af9dadf46a93b1e8613cfc  libXmu-1.1.2.tar.bz2"