summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2017-11-02 23:07:56 -0400
committerTed Alff2017-11-02 23:07:56 -0400
commite96fa419b952c3810bf67aa326958f1cae2a31ac (patch)
treea0d5b46edb5f392cae49fbbb6644619d2062b2ce
parent5511120c52f11578a1af361be81812c5f0d08546 (diff)
downloadaur-e96fa419b952c3810bf67aa326958f1cae2a31ac.tar.gz
Bump to latest git snapshot
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
2 files changed, 20 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc1e29bcd1a..dd277c8a2c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
# Generated by mksrcinfo v8
-# Thu Jun 29 16:34:02 UTC 2017
+# Fri Nov 3 03:07:35 UTC 2017
pkgbase = kaa-base
pkgdesc = KAA base package
- pkgver = 0.6.0
- pkgrel = 5
+ pkgver = 0.99.2+481+c9a28525
+ pkgrel = 1
url = http://freevo.sourceforge.net/
arch = i686
arch = x86_64
license = GPL2
+ makedepends = git
depends = python2
depends = glib2
- source = http://downloads.sourceforge.net/freevo/kaa-base-0.6.0.tar.gz
- sha256sums = 04fb0f610ec19a1aad1698d20829fb8caa34a97fe9cd4d9acf9f4f9f918d79b0
+ conflicts = kaa-base
+ source = kaa-base::git+https://github.com/freevo/kaa-base#commit=c9a28525f0ca39546c72f1fd232812d514c631eb
+ sha256sums = SKIP
pkgname = kaa-base
diff --git a/PKGBUILD b/PKGBUILD
index 03d2fa4e254..42a5b53d17d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,26 @@
# Contributor: DonVla <donvla@users.sourceforge.net>
pkgname=kaa-base
-pkgver=0.6.0
-pkgrel=5
+pkgver=0.99.2+481+c9a28525
+pkgrel=1
pkgdesc="KAA base package"
url="http://freevo.sourceforge.net/"
license=('GPL2')
depends=('python2' 'glib2')
+makedepends=('git')
+conflicts=("${pkgname}")
arch=('i686' 'x86_64')
-source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz)
-sha256sums=('04fb0f610ec19a1aad1698d20829fb8caa34a97fe9cd4d9acf9f4f9f918d79b0')
+_commit='c9a28525f0ca39546c72f1fd232812d514c631eb'
+source=("${pkgname}::git+https://github.com/freevo/kaa-base#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${pkgname}
+ echo "$( grep -m1 VERSION setup.py | sed "s:.*'\([^']*\)'.*:\1:" )+$(( $( git rev-list --all | grep -B9999 `git rev-list --tags --max-count=1` | wc -l ) - 1))+$( git rev-list --all | head -1 | cut -c1-8 )"
+}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}
# python2 fix
find . -name '*.py' -exec \