summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLAC12132016-04-16 13:59:18 +0200
committerLAC12132016-04-16 13:59:18 +0200
commit3da970c756ab7601f1d6b39a30a4dfa22dfb4f00 (patch)
tree95348d8928a2204d1bf8e040b33f7fa427b88e10
parente16ef3ba4dc1fe85191ff944080409fc8f17b65b (diff)
downloadaur-3da970c756ab7601f1d6b39a30a4dfa22dfb4f00.tar.gz
cleanup PKGBUILD as suggested by syne
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD69
2 files changed, 42 insertions, 45 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22d050097a8..7ab7a9412d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Feb 7 03:01:57 UTC 2016
+# Sat Apr 16 11:58:47 UTC 2016
pkgbase = exaile-git
pkgdesc = music player for gnome, similar to KDEs amarok
- pkgver = 3.4.5
+ pkgver = 3.4.5.r569.g0f06dfe
pkgrel = 1
url = www.exaile.org
arch = any
@@ -12,9 +12,17 @@ pkgbase = exaile-git
depends = gtk3>=3.10
depends = gstreamer>=1.4
depends = mutagen>=1.10
- depends = dbus-python
- depends = pygobject-devel>=3.13.2
- depends = python-cairo
+ depends = python2-dbus
+ depends = python2-gobject>=3.13.2
+ depends = python2-cairo
+ depends = udisks2
+ depends = librsvg
+ depends = gst-plugins-good
+ optdepends = python2-beautifulsoup3: lyricwiki plugin
+ provides = exaile
+ conflicts = exaile
+ source = git://github.com/exaile/exaile.git
+ md5sums = SKIP
pkgname = exaile-git
diff --git a/PKGBUILD b/PKGBUILD
index cd6ae4ebd74..faf5fb12a24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,6 @@
-# This is an example PKGBUILD file. Use this as a start to creating your own,
-# and remove these comments. For more information, see 'man PKGBUILD'.
-# NOTE: Please fill out the license field for your package! If it is unknown,
-# then please put 'unknown'.
-
-# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
-# for more information on packaging from GIT sources.
-
# Maintainer: 1213 <lambertacampo at gmail dot com>
pkgname=exaile-git
-pkgver=3.4.5
+pkgver=3.4.5.r569.g0f06dfe
pkgrel=1
pkgdesc="music player for gnome, similar to KDEs amarok"
arch=('any')
@@ -20,50 +12,47 @@ depends=(
'gtk3>=3.10'
'gstreamer>=1.4'
'mutagen>=1.10'
- 'dbus-python'
- 'pygobject-devel>=3.13.2'
- 'python-cairo')
-
-makedepends=('git')
-provides=()
-conflicts=()
+ 'python2-dbus'
+ 'python2-gobject>=3.13.2'
+ 'python2-cairo'
+ 'udisks2'
+ 'librsvg'
+ 'gst-plugins-good')
+
+makedepends=(
+ 'git')
+
+optdepends=(
+ 'python2-beautifulsoup3: lyricwiki plugin'
+ )
+provides=('exaile')
+conflicts=('exaile')
replaces=()
backup=()
options=()
install=()
-source=()
+source=(git://github.com/exaile/exaile.git)
noextract=()
-md5sums=() #generate with 'makepkg -g'
+md5sums=('SKIP')
-_gitroot="https://github.com/exaile/exaile.git"
_gitname=exaile
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
+pkgver() {
+ cd "$_gitname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
+prepare() {
+ cd "${srcdir}/${_gitname}"
+}
- #
- # BUILD HERE
- #
- make
+build() {
+ cd "$_gitname"
+ make clean
}
package() {
- cd "$srcdir/$_gitname-build"
+ cd "$_gitname"
make DESTDIR="$pkgdir/" PREFIX="/usr" install
}