summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornot_anonymous2024-02-06 09:18:16 -0700
committernot_anonymous2024-02-06 09:18:16 -0700
commit3ad24a425e8e6d4943f6fdb561f0981a22653744 (patch)
tree8792d19ad1135bad447a5e23534890a18ea1da4b /PKGBUILD
parent346252da71b854effcff3d918a5ff00012381342 (diff)
downloadaur-cwdaemon.tar.gz
Updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 995bde85e111..a4bd8892ed1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,10 @@
pkgname=cwdaemon
_author=acerion
-pkgver=0.10.2
+pkgver=0.12.0.r146.gac773e4
+#.r146.gac773e4
#.r4.g44f36eb
-pkgrel=2
+pkgrel=1
pkgdesc="Ham Radio Morse Code transmitter - text input is sent via udp port 6789."
arch=('i686' 'x86_64')
url="http://cwdaemon.sourceforge.net"
@@ -20,8 +21,9 @@ source=("$pkgname::git+https://github.com/$_author/$pkgname#branch=master"
pkgver() {
cd $srcdir/$pkgname
- git describe --long | sed -r 's/-([0-9,a-g,A-G].*)//'
-# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+# git describe --long | sed -r 's/-([0-9,a-g,A-G].*)//'
+## git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
@@ -50,10 +52,13 @@ package() {
cd $srcdir/$pkgname
make prefix=$pkgdir/usr install
+
+ cd $pkgdir/usr/bin
+ mv example cwdaemon-example
}
md5sums=('SKIP'
'9afaea52e53c3140388633ed608bf0ed'
- 'db518d891fb68c02168111f46340899d')
+ '263d67197bf711907f76ed079169b04c')
sha256sums=('SKIP'
'af0343ee5691c256ccb206284d683f88b551132446cd9ecd1dc3cc87af72e833'
- 'fb40a17f6cc5b0910e588c8c815a5340069b013af3207017073eff6ca58cca26')
+ '0b2257673431170c39b3b6ff45e7cd2ee3208e423233da15fb789d9adf70d944')