diff options
Diffstat (limited to 'user/viewres/APKBUILD')
-rw-r--r-- | user/viewres/APKBUILD | 37 |
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" |