summaryrefslogtreecommitdiff
path: root/user/xabacus/APKBUILD
blob: a7a26217f9549acf8c85bab70e5fd3baf5984d42 (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
29
30
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=xabacus
pkgver=8.1.7
pkgrel=1
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() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

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

sha512sums="6e126d79c606f5d10689bc6f495f3e586351ce9500f83c0a03ac772471c9f788e08efe228356da1c1479acc8b2d5f406b6d82ac78066e18ed8ac6e24502524bb  xabacus-8.1.7.tar.bz2"