summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:32:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:32:16 +0000
commit509a4a3b332e58bf99b52b7ef33eb1ddd94c776b (patch)
tree4f002bbff8279f7b37bc2638f1aa0da85560c7bd /user
parent2bdf02d0958de06296cb4465a8456222703d6c91 (diff)
downloadpackages-509a4a3b332e58bf99b52b7ef33eb1ddd94c776b.tar.gz
packages-509a4a3b332e58bf99b52b7ef33eb1ddd94c776b.tar.bz2
packages-509a4a3b332e58bf99b52b7ef33eb1ddd94c776b.tar.xz
packages-509a4a3b332e58bf99b52b7ef33eb1ddd94c776b.zip
user/xmore: new package
Diffstat (limited to 'user')
-rw-r--r--user/xmore/APKBUILD43
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"