summaryrefslogtreecommitdiff
path: root/user/xabacus/APKBUILD
blob: 61bf59e2cf8ffe433dc928e1c3349bf1a58181ab (plain) (blame)
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
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=xabacus
pkgver=8.2.1
pkgrel=0
pkgdesc="Simple X11 abacus widget"
url="http://www.sillycycle.com/abacus.html"
arch="all !s390x"
options="!check"  # xabacus does not ship a test suite
license="MIT"
depends=""
makedepends="libx11-dev libxpm-dev libxt-dev libxml2-dev"
subpackages="$pkgname-doc"
# Refuses cURL user agents: 406 Not Acceptable
#source="http://www.sillycycle.com/abacus/$pkgname-$pkgver.tar.xz"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	make DESTDIR="$pkgdir" install-png install-xpm
}

sha512sums="06f26af541bb7b9a17acce7b56c7edd28aac50ef4c63a1cc73ae8269842d95618cd99eeafb62f045ec4ad543a3ecad529473e138c0933c4674a91027fa32e548  xabacus-8.2.1.tar.bz2"