summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2020-09-06 17:21:05 -0600
committernot_anonymous2020-09-06 17:21:05 -0600
commit4e048bb81bae1d68f55bc6b7fd7af212aa9ef84c (patch)
tree0e2d742c47c7658bd569f6df6e52c1b19e6fa7c4
parenta7e872ed2f4a707c5771a3b4f51918fcaa92c172 (diff)
downloadaur-yfktest.tar.gz
Updated
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65b86c4cc8b..0aafa813b1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = yfktest
pkgdesc = Ham Radio Contesting Logger
- pkgver = r671
+ pkgver = r385.a4cabae
pkgrel = 1
url = http://fkurz.net/ham/yfktest.html
arch = any
@@ -15,7 +15,7 @@ pkgbase = yfktest
optdepends = winkeydaemon: usb cw xmit
optdepends = bigcty: contest version country files
optdepends = mplayer: voice keyer
- source = yfktest::svn://svn.fkurz.net/yfktest/trunk
+ source = yfktest::git+https://git.fkurz.net/yfktest/yfktest.git
source = yfktest.desktop
source = yfktest.png
source = yfktest.1
diff --git a/PKGBUILD b/PKGBUILD
index 2b4179638a7..06656fc2b9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Original Submission: Bob Finch <w9ya@qrparci.net>
pkgname=yfktest
-pkgver=r671
+pkgver=r385.a4cabae
pkgrel=1
pkgdesc="Ham Radio Contesting Logger"
arch=('any')
@@ -16,7 +16,8 @@ optdepends=('hamlib: rig interfacing'
'winkeydaemon: usb cw xmit'
'bigcty: contest version country files'
'mplayer: voice keyer')
-source=("$pkgname::svn://svn.fkurz.net/yfktest/trunk"
+source=("$pkgname::git+https://git.fkurz.net/yfktest/yfktest.git"
+#("$pkgname::svn://svn.fkurz.net/yfktest/trunk"
$pkgname.desktop
$pkgname.png
$pkgname.1)
@@ -24,9 +25,12 @@ source=("$pkgname::svn://svn.fkurz.net/yfktest/trunk"
pkgver() {
cd "$srcdir/$pkgname"
- printf "r%s" "$(svnversion | tr -d 'A-z')"
+ printf "r%s.%s" "$(git rev-list --count HEAD)"\
+ "$(git rev-parse --short HEAD)"
+# printf "r%s" "$(svnversion | tr -d 'A-z')"
}
+
package() {
cd "$srcdir/$pkgname"
install -d $pkgdir/usr/share/$pkgname