summaryrefslogtreecommitdiff
path: root/user/xditview/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:52:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:52:31 +0000
commitb14772329f3afc219e27747d081cf4a2578dcbc0 (patch)
tree937d8f1e88db8e484894d763e710517dd7a88cd7 /user/xditview/APKBUILD
parent9bd696f2744179c85d364915c3f438f9c6c67480 (diff)
downloadpackages-b14772329f3afc219e27747d081cf4a2578dcbc0.tar.gz
packages-b14772329f3afc219e27747d081cf4a2578dcbc0.tar.bz2
packages-b14772329f3afc219e27747d081cf4a2578dcbc0.tar.xz
packages-b14772329f3afc219e27747d081cf4a2578dcbc0.zip
user/xditview: new package
Diffstat (limited to 'user/xditview/APKBUILD')
-rw-r--r--user/xditview/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xditview/APKBUILD b/user/xditview/APKBUILD
new file mode 100644
index 000000000..6902402e2
--- /dev/null
+++ b/user/xditview/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xditview
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="X11 ditroff viewer"
+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/xditview-$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="7a0d023cd28ffc63c771814e028e79d20f8b56671a7a558c41ef062ef2d40079b5d37a5cf026b7ad3670da6866a087ae4888cea96d6d9e8a137e115174d637d2 xditview-1.0.4.tar.bz2"