aboutsummaryrefslogtreecommitdiffstats
path: root/community/xcalc/APKBUILD
blob: 4be3a509f3da2993b3040ee5aec8639b424698e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=xcalc
pkgver=1.0.6
pkgrel=0
pkgdesc="Calculator for the X Window System"
url="http://www.x.org"
arch="all"
license="MIT"
makedepends="libx11-dev libxaw-dev libxt-dev"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="61b921b6a3fefea20bd9e7ad0b308f589f2aeaafe9316df94cc739a005be6c180bdafc981b8957230f46c9fc1c0e266829a55b473ae26b1377c705796175c908  xcalc-1.0.6.tar.bz2"