summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xabacus/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/user/xabacus/APKBUILD b/user/xabacus/APKBUILD
index ac3b8b6c1..a7a26217f 100644
--- a/user/xabacus/APKBUILD
+++ b/user/xabacus/APKBUILD
@@ -3,14 +3,17 @@
pkgname=xabacus
pkgver=8.1.7
pkgrel=1
-pkgdesc="a simple X11 abacus widget"
+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"
-source="http://www.sillycycle.com/abacus/$pkgname-$pkgver.tar.xz"
+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"
@@ -20,8 +23,8 @@ build() {
package() {
cd "$builddir"
- make install
- make install-png
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install-png install-xpm
}
-sha512sums="6e126d79c606f5d10689bc6f495f3e586351ce9500f83c0a03ac772471c9f788e08efe228356da1c1479acc8b2d5f406b6d82ac78066e18ed8ac6e24502524bb xabacus-8.1.7.tar.xz"
+sha512sums="6e126d79c606f5d10689bc6f495f3e586351ce9500f83c0a03ac772471c9f788e08efe228356da1c1479acc8b2d5f406b6d82ac78066e18ed8ac6e24502524bb xabacus-8.1.7.tar.bz2"