summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2020-01-26 13:58:00 +0100
committerSimon Legner2020-01-26 13:58:00 +0100
commit40fbb3b9b30138ff76fa69924b11be2a8dfd82fe (patch)
tree7d4187bf8c8c6740778d6c4da497a5130017ad95
parent4850feabd9cbc7330688d4185b93dcace27da450 (diff)
downloadaur-xspin.tar.gz
upgpkg: xspin 5.2.5-2
prepare, package, https
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e2859059b24..d345d5d3e4f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = xspin
pkgdesc = Tcl/Tk GUI for spin
pkgver = 5.2.5
- pkgrel = 1
- url = http://spinroot.com/
+ pkgrel = 2
+ url = https://spinroot.com/spin/whatispin.html
arch = any
license = custom
depends = spin
depends = tk
- source = http://spinroot.com/spin/Src/xspin525.tcl
+ source = https://spinroot.com/spin/Src/xspin525.tcl
md5sums = 4b41ff53c1834168aa183def9036bbb7
+ sha256sums = e23d8d562e39db6fe73570e52ee895cd806d15c3e52e638299cbc1eb61289eb6
pkgname = xspin
diff --git a/PKGBUILD b/PKGBUILD
index 731b1a18836e..57834b53cddc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,23 @@
pkgname=xspin
pkgver=5.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="Tcl/Tk GUI for spin"
arch=('any')
-url="http://spinroot.com/"
+url="https://spinroot.com/spin/whatispin.html"
license=('custom')
depends=('spin' 'tk')
-source=(http://spinroot.com/spin/Src/xspin525.tcl)
+source=(https://spinroot.com/spin/Src/xspin525.tcl)
-build() {
+prepare() {
sed -i 's~#!/bin/sh~#!/usr/bin/wish -f~' xspin525.tcl
+}
+
+package() {
install -Dm0755 xspin525.tcl $pkgdir/usr/bin/xspin
install -Dm0644 /usr/share/licenses/spin/LICENSE.txt \
$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}
md5sums=('4b41ff53c1834168aa183def9036bbb7')
+sha256sums=('e23d8d562e39db6fe73570e52ee895cd806d15c3e52e638299cbc1eb61289eb6')