summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTed Alff2017-11-02 23:07:56 -0400
committerTed Alff2017-11-02 23:07:56 -0400
commite96fa419b952c3810bf67aa326958f1cae2a31ac (patch)
treea0d5b46edb5f392cae49fbbb6644619d2062b2ce /PKGBUILD
parent5511120c52f11578a1af361be81812c5f0d08546 (diff)
downloadaur-e96fa419b952c3810bf67aa326958f1cae2a31ac.tar.gz
Bump to latest git snapshot
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 13 insertions, 5 deletions
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 \