From fa693531d8f02ce2d6cd1d464da75be8340fc895 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 1 Jan 2019 00:19:43 +0000 Subject: user/xcalc: new package --- user/xcalc/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/xcalc/APKBUILD (limited to 'user/xcalc/APKBUILD') diff --git a/user/xcalc/APKBUILD b/user/xcalc/APKBUILD new file mode 100644 index 000000000..d15d905fc --- /dev/null +++ b/user/xcalc/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=xcalc +pkgver=1.0.6 +pkgrel=0 +pkgdesc="Graphical scientific calculator for X11" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="" +makedepends="libx11-dev libxaw-dev libxt-dev util-macros xorgproto-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/xcalc-$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="61b921b6a3fefea20bd9e7ad0b308f589f2aeaafe9316df94cc739a005be6c180bdafc981b8957230f46c9fc1c0e266829a55b473ae26b1377c705796175c908 xcalc-1.0.6.tar.bz2" -- cgit v1.2.3-70-g09d2