summaryrefslogtreecommitdiff
path: root/user/xcalc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:19:43 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:19:43 +0000
commitfa693531d8f02ce2d6cd1d464da75be8340fc895 (patch)
treed9f476b4a557f019c4fc65154f647738e2b7aaad /user/xcalc
parent7096c69ae730fd268874113bec023fc6fd6e890d (diff)
downloadpackages-fa693531d8f02ce2d6cd1d464da75be8340fc895.tar.gz
packages-fa693531d8f02ce2d6cd1d464da75be8340fc895.tar.bz2
packages-fa693531d8f02ce2d6cd1d464da75be8340fc895.tar.xz
packages-fa693531d8f02ce2d6cd1d464da75be8340fc895.zip
user/xcalc: new package
Diffstat (limited to 'user/xcalc')
-rw-r--r--user/xcalc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"