summaryrefslogtreecommitdiff
path: root/user/xmag/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xmag/APKBUILD')
-rw-r--r--user/xmag/APKBUILD37
1 files changed, 37 insertions, 0 deletions
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 <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"