diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | diff.Makefile.am.example | 2 |
3 files changed, 18 insertions, 13 deletions
@@ -1,22 +1,21 @@ pkgbase = cwdaemon pkgdesc = Ham Radio Morse Code transmitter - text input is sent via udp port 6789. - pkgver = 0.10.2 + pkgver = 0.12.0.r146.gac773e4 pkgrel = 1 url = http://cwdaemon.sourceforge.net arch = i686 arch = x86_64 license = GPL - depends = unixcw>=3.3.1 + depends = unixcw depends = netcat source = cwdaemon::git+https://github.com/acerion/cwdaemon#branch=master source = diff.Makefile.am source = diff.Makefile.am.example md5sums = SKIP md5sums = 9afaea52e53c3140388633ed608bf0ed - md5sums = db518d891fb68c02168111f46340899d + md5sums = 263d67197bf711907f76ed079169b04c sha256sums = SKIP sha256sums = af0343ee5691c256ccb206284d683f88b551132446cd9ecd1dc3cc87af72e833 - sha256sums = fb40a17f6cc5b0910e588c8c815a5340069b013af3207017073eff6ca58cca26 + sha256sums = 0b2257673431170c39b3b6ff45e7cd2ee3208e423233da15fb789d9adf70d944 pkgname = cwdaemon - @@ -3,24 +3,27 @@ pkgname=cwdaemon _author=acerion -pkgver=0.10.2 +pkgver=0.12.0.r146.gac773e4 +#.r146.gac773e4 #.r4.g44f36eb 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" license=('GPL') -depends=('unixcw>=3.3.1' 'netcat') +#depends=('unixcw>=3.3.1' 'netcat') +depends=('unixcw' 'netcat') source=("$pkgname::git+https://github.com/$_author/$pkgname#branch=master" #http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz diff.Makefile.am diff.Makefile.am.example) pkgver() { - cd "$pkgname" + 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' } @@ -49,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') diff --git a/diff.Makefile.am.example b/diff.Makefile.am.example index 7bf97df1f9e4..95fbcb3c8068 100644 --- a/diff.Makefile.am.example +++ b/diff.Makefile.am.example @@ -4,7 +4,7 @@ -noinst_PROGRAMS = example +bin_PROGRAMS = example @@ -25 +25 @@ --# example_CPPFLAGS = +-example_CPPFLAGS = -Wall -Wextra -pedantic -std=c99 +example_CPPFLAGS = -I$(top_srcdir)/src/ @@ -27 +27 @@ -# example_LDADD = |