summaryrefslogblamecommitdiff
path: root/user/xpr/APKBUILD
blob: a8980c5c402ff8bb5a5d5487e8146d8ff5053d5e (plain) (tree)




































                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xpr
pkgver=1.0.5
pkgrel=0
pkgdesc="Format an X11 window dump from xwd(1) for printing"
url="https://www.X.Org/"
arch="all"
license="X11 AND MIT"
depends=""
makedepends="libx11-dev libxmu-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xpr-$pkgver.tar.bz2"

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

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

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

sha512sums="d5dfb936ec4ad0067d02654dec8e862fe337ff6a2c2f974b2b3a612a829c2e728a0d51e7aba00ed2a94dc96dc50cc69f2c59f522e0635013f5f4f5bb3f4ab967  xpr-1.0.5.tar.bz2"