From 2bdf02d0958de06296cb4465a8456222703d6c91 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 1 Jan 2019 08:27:05 +0000 Subject: user/xmag: new package --- user/xmag/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/xmag/APKBUILD (limited to 'user') diff --git a/user/xmag/APKBUILD b/user/xmag/APKBUILD new file mode 100644 index 000000000..85191ca8d --- /dev/null +++ b/user/xmag/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2