summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2017-01-23 07:04:02 -0700
committernot_anonymous2017-01-23 07:04:02 -0700
commit8f244242d2e77b8ec09b695bf3c72d87f2683d6c (patch)
tree2361906b9988a3b34d72a491f07345ae4fd60ce3
parent4191d2c546771ad964e03a335e6df364083670fb (diff)
downloadaur-8f244242d2e77b8ec09b695bf3c72d87f2683d6c.tar.gz
Updated
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD58
-rw-r--r--aldo.install11
3 files changed, 56 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a8b06a3767..62eedfdcb66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,24 @@
pkgbase = aldo
pkgdesc = Morse code tutor with a random number generator & skill level testing
- pkgver = 0.7.7
- pkgrel = 2
+ pkgver = 0.7.8
+ pkgrel = 1
url = http://aldo.nongnu.org/
- install = aldo.install
arch = i686
arch = x86_64
license = GPL
+ makedepends = git
+ makedepends = autoconf
+ makedepends = automake
+ makedepends = libtool
depends = libao
- depends = desktop-file-utils
- source = http://savannah.nongnu.org/download/aldo/aldo-0.7.7.tar.bz2
- source = aldo.install
+ depends = gcc-libs
+ source = aldo::git+http://git.savannah.gnu.org/r/aldo.git#branch=master
source = aldo.desktop
source = hamradio.png
- md5sums = 7baefd992953a0f4c56085af835495b1
- md5sums = f7e1e2722c972f3420cfd69492c79073
+ md5sums = SKIP
md5sums = db0b42dd5494090f4382d854433eba06
md5sums = b24ce93a15cca693efa662ab90ae0fda
- sha256sums = f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92
- sha256sums = f703f8de14eb277dc72cc837086fbd55f5d772049a44200686c8ae76348f6614
+ sha256sums = SKIP
sha256sums = 34db7c1c2ac1b2d5d434a4fbf8c6b87f62f7fe1e873b9b236c854fb4ff87962d
sha256sums = e55aabbf91ad110672d87290582705a55c6a52bb5b487c7bd195f5e18cc550b3
diff --git a/PKGBUILD b/PKGBUILD
index 7ff4c574692..670fd7ab13f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,64 @@
# Original Submission: Bob Finch <w9ya@qrparci.net>
pkgname=aldo
-pkgver=0.7.7
-pkgrel=2
+pkgver=0.7.8
+pkgrel=1
pkgdesc="Morse code tutor with a random number generator & skill level testing"
arch=('i686' 'x86_64')
url="http://aldo.nongnu.org/"
license=('GPL')
-depends=('libao' 'desktop-file-utils')
-install=$pkgname.install
-source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.bz2
- $pkgname.install
+depends=('libao' 'gcc-libs')
+makedepends=('git' 'autoconf' 'automake' 'libtool')
+source=("$pkgname::git+http://git.savannah.gnu.org/r/$pkgname.git#branch=master"
+#http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname.desktop
hamradio.png)
+# Not sure where the authors are going, so I decided to use the last tagged master
+# branch in the software (git) repo; ....which is ALSO the first tagged 0.7.8.
+# Alas the runiing program sezs 0.7.7 and it was last updated in 2013.
+# SO.....I did what you see here !!!!
+#
+# Optionally YOU can "instead" use the switch out sources (tar for the git),
+# and remove the pkgver(), prepare(), plus switch the "cd ....." lines .
+# (Oh and remove the makedepends= .... hi hi.)
+
+pkgver(){
+ cd $pkgname
+
+ git describe | sed 's/^v//'
+# git describe --long | sed -r 's/-([0-9,a-g,A-G].*)//' | sed 's/-/./' | sed 's/^v//'
+}
+
+prepare() {
+ cd $srcdir/$pkgname
+
+ aclocal --force
+ libtoolize --force
+ autoheader -f
+ automake -a -c -f
+ autoconf -f
+}
+
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname
+# cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
}
+check() {
+ cd $srcdir/$pkgname
+
+ make check
+# make -k check
+# make -i check
+}
+
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname
+# cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
@@ -35,11 +71,9 @@ package() {
install -m644 ../*.desktop $pkgdir/usr/share/applications/
install -m644 ../hamradio.png $pkgdir/usr/share/pixmaps/
}
-md5sums=('7baefd992953a0f4c56085af835495b1'
- 'f7e1e2722c972f3420cfd69492c79073'
+md5sums=('SKIP'
'db0b42dd5494090f4382d854433eba06'
'b24ce93a15cca693efa662ab90ae0fda')
-sha256sums=('f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92'
- 'f703f8de14eb277dc72cc837086fbd55f5d772049a44200686c8ae76348f6614'
+sha256sums=('SKIP'
'34db7c1c2ac1b2d5d434a4fbf8c6b87f62f7fe1e873b9b236c854fb4ff87962d'
'e55aabbf91ad110672d87290582705a55c6a52bb5b487c7bd195f5e18cc550b3')
diff --git a/aldo.install b/aldo.install
deleted file mode 100644
index 2eaa60550d5..00000000000
--- a/aldo.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}