summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPolochon-street2016-02-11 16:48:30 +0100
committerPolochon-street2016-02-11 16:48:30 +0100
commit446b6e7c2d9ce0ea2544a947972ce4498e8d7ad2 (patch)
treecd855daa3c38161ac97df41425c09626ea0f6096
parent1338919286bb81264b40b396bdab2966398809d9 (diff)
downloadaur-446b6e7c2d9ce0ea2544a947972ce4498e8d7ad2.tar.gz
Changed pkgbuild
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
2 files changed, 16 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6592602edc8..08bffce559a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Feb 8 23:30:53 UTC 2016
+# Thu Feb 11 15:48:05 UTC 2016
pkgbase = leleleplayer-git
pkgdesc = An audio player wich can find similar songs in your library
- pkgver = 0.7.0
- pkgrel = 2
+ pkgver = 0.6.0.r15.gee34209
+ pkgrel = 1
install = leleleplayer.install
arch = i686
arch = x86_64
@@ -16,7 +16,7 @@ pkgbase = leleleplayer-git
depends = gtk3
depends = bliss-git
optdepends = gst-plugins-ugly: Needed for some audio format support
- source = git://github.com/Polochon-street/leleleplayer.git
+ source = leleleplayer-git::git://github.com/Polochon-street/leleleplayer.git
md5sums = SKIP
pkgname = leleleplayer-git
diff --git a/PKGBUILD b/PKGBUILD
index eb9fe83d381..a5328156974 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,33 @@
pkgname=leleleplayer-git
_gitname=leleleplayer
-pkgver=0.7.0
-pkgrel=2
+pkgver=0.6.0.r15.gee34209
+pkgrel=1
pkgdesc="An audio player wich can find similar songs in your library"
arch=('i686' 'x86_64')
license=('MIT')
depends=('gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'ffmpeg' 'gtk3' 'bliss-git')
optdepends=('gst-plugins-ugly: Needed for some audio format support')
install="$_gitname.install"
-source=('git://github.com/Polochon-street/leleleplayer.git')
+source=("$pkgname::git://github.com/Polochon-street/${pkgname%-*}.git")
md5sums=('SKIP')
-
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
prepare() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$pkgname"
mkdir -p build
}
build() {
- cd "$srcdir/$_gitname/build"
+ cd "$srcdir/$pkgname/build"
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd "$srcdir/$_gitname/build"
+ cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir" install
}