summaryrefslogtreecommitdiff
path: root/user/viewres/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:08:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:08:36 +0000
commit624d7573951053f086498e5a3de7efea1bc3f86f (patch)
treecbe53e5c6d1d9485da0daf2cd8b92b9e78f94abb /user/viewres/APKBUILD
parentd7cf17cfdde23451449d97b4f7ca60a8c44c10a8 (diff)
downloadpackages-624d7573951053f086498e5a3de7efea1bc3f86f.tar.gz
packages-624d7573951053f086498e5a3de7efea1bc3f86f.tar.bz2
packages-624d7573951053f086498e5a3de7efea1bc3f86f.tar.xz
packages-624d7573951053f086498e5a3de7efea1bc3f86f.zip
user/viewres: new package
Diffstat (limited to 'user/viewres/APKBUILD')
-rw-r--r--user/viewres/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/viewres/APKBUILD b/user/viewres/APKBUILD
new file mode 100644
index 000000000..0185ca839
--- /dev/null
+++ b/user/viewres/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=viewres
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="View widget class trees in software using Athena widgets (Xaw)"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libxaw-dev libxmu-dev libxt-dev util-macros"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/viewres-$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="fe573e9b5ae679b65eee95733cbea20c86c92089c3a2dadfe977bc9c54d1f58c5e5f4663e51a1cf206543a43592b3a3c266da1769279f08be85c66b0aa5b0f7f viewres-1.0.5.tar.bz2"