Name libxaw
Description X Athena Widget Set
Version 1.0.16-r1
Package Base libxaw
Homepage https://www.x.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libxaw
Sources ['https://www.x.org/releases/individual/lib/libXaw-1.0.16-r1.tar.xz']
Dependencies ['libX11.so.6', 'libXext.so.6', 'libXmu.so.6', 'libXpm.so.4', 'libXt.so.6', 'libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['libx11-dev', 'libxext-dev', 'libxmu-dev', 'libxpm-dev', 'util-macros', 'xorgproto']
Provides ['so:libXaw.so.7=7.0.0']
Builddate 11-04-2024 23:39:10
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1b5niwx0feS0n+f9FxqhLslTxymI=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxaw
pkgver=1.0.16
pkgrel=1
pkgdesc="X Athena Widget Set"
url="https://www.x.org/"
arch="all"
license="MIT"
makedepends="
	libx11-dev
	libxext-dev
	libxmu-dev
	libxpm-dev
	util-macros
	xorgproto
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libXaw-$pkgver.tar.xz"
builddir="$srcdir"/libXaw-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		--disable-xaw6
	make
}

check() {
	make check
}

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

sha512sums="
1cabad1a9b06dec7de601b977e844536823ee1a0045244acc42ca6b6107da9b4953736d94898a96cab40845eab77dae21e20e1fa66a3dfc4dedf575dfbca04aa  libXaw-1.0.16.tar.xz
"