summaryrefslogtreecommitdiff
path: root/user/xabacus/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 00:59:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 01:00:06 -0500
commit7f12d28b968ca28f4aa88a78ba47ac675c718b22 (patch)
treec25a93c9eda978a36ed182913d635a581ddfaf36 /user/xabacus/APKBUILD
parent2abcec50d0275b8aee1278293660406a6c72fed6 (diff)
downloadpackages-7f12d28b968ca28f4aa88a78ba47ac675c718b22.tar.gz
packages-7f12d28b968ca28f4aa88a78ba47ac675c718b22.tar.bz2
packages-7f12d28b968ca28f4aa88a78ba47ac675c718b22.tar.xz
packages-7f12d28b968ca28f4aa88a78ba47ac675c718b22.zip
user/xabacus: modernise, rehost tarball because lol hosting
Diffstat (limited to 'user/xabacus/APKBUILD')
-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"