summaryrefslogtreecommitdiff
path: root/user/xditview/APKBUILD
blob: 7de93902ef84d9a65ab32b17c597db5c6fbb53b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xditview
pkgver=1.0.5
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e20c903f38394b496111267e142d84d11e69a3b89f91869652d1f2ee5c997a13f90bfa2966651b42cd3979a330b348a6e397cc6a74c45b1f3f91643e7c06765d  xditview-1.0.5.tar.bz2"