summaryrefslogblamecommitdiff
path: root/user/xmore/APKBUILD
blob: bf2d861bde793b193c08afde633c18ca57c57652 (plain) (tree)










































                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xmore
pkgver=1.0.2
pkgrel=0
pkgdesc="Display text files using X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libxaw-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xmore-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

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="718ad254beaae57475cead3815fc7625692699c76749c64e3aeb722daf5e1cecbea9d1207e3427d6a5d0aa240a6aaf678ea1656d6731b9f47e1a8045d62c3efb  xmore-1.0.2.tar.bz2"