aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxmu/APKBUILD
blob: 6fc2c7689a3f00e386b23b05e15b61842ebfbd17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxmu
pkgver=1.1.3
pkgrel=0
pkgdesc="X11 miscellaneous micro-utility library"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="util-linux-dev"
makedepends="libxext-dev libxt-dev libx11-dev libsm-dev util-linux-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 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="8c6cc65b22aa031ad870dd92736681a068a0878a425a53dbed909943da1136c4a24034d467cfd3785c3a8d78f66850b69f1ebe1eb24aaf9bc176b1d171a5c762  libXmu-1.1.3.tar.bz2"