summaryrefslogblamecommitdiff
path: root/user/xmag/APKBUILD
blob: 85191ca8d3941cbc6b1666148c1c59975f929fd9 (plain) (tree)




































                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xmag
pkgver=1.0.6
pkgrel=0
pkgdesc="Tool to magnify part of an X11 screen"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xmag-$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="98f3c8e0c58f31cd4f1736ba9c5cd68dba3b2e2de6191988de8ae3e91b1d310803461840189ad56be45ee57c9ca05a2c63544a49b02ce6f79f2ebc14c59613de  xmag-1.0.6.tar.bz2"