diff options
Diffstat (limited to 'user/xmore/APKBUILD')
-rw-r--r-- | user/xmore/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/xmore/APKBUILD b/user/xmore/APKBUILD new file mode 100644 index 000000000..bf2d861bd --- /dev/null +++ b/user/xmore/APKBUILD @@ -0,0 +1,43 @@ +# 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" |