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