summaryrefslogtreecommitdiff
path: root/user/xmag/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:27:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:27:05 +0000
commit2bdf02d0958de06296cb4465a8456222703d6c91 (patch)
tree231eec3f4c26e3be16ec428eb12555ccdf6d2f50 /user/xmag/APKBUILD
parent78470d51d676cf23605642bdd6e49b891189e418 (diff)
downloadpackages-2bdf02d0958de06296cb4465a8456222703d6c91.tar.gz
packages-2bdf02d0958de06296cb4465a8456222703d6c91.tar.bz2
packages-2bdf02d0958de06296cb4465a8456222703d6c91.tar.xz
packages-2bdf02d0958de06296cb4465a8456222703d6c91.zip
user/xmag: new package
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"