[arch-commits] Commit in grilo-plugins/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Sep 25 12:33:59 UTC 2016
Date: Sunday, September 25, 2016 @ 12:33:59
Author: heftig
Revision: 276943
grilo+plugins+0.3.2+50+gab5596b-1
Modified:
grilo-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++------------
1 file changed, 22 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-25 07:24:46 UTC (rev 276942)
+++ PKGBUILD 2016-09-25 12:33:59 UTC (rev 276943)
@@ -2,24 +2,34 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=grilo-plugins
-pkgver=0.3.3
+pkgver=grilo+plugins+0.3.2+50+gab5596b
pkgrel=1
-pkgdesc="Plugins for Grilo"
-url="http://www.gnome.org"
+pkgdesc="A collection of plugins for the Grilo framework"
+url="https://git.gnome.org/browse/grilo-plugins"
arch=(i686 x86_64)
license=(LGPL)
depends=(grilo lua libmediaart libgdata libtracker-sparql gom libdmapsharing chromaprint
gst-plugins-bad)
-makedepends=(intltool itstool yelp-tools)
+makedepends=(intltool itstool yelp-tools git gnome-common python)
optdepends=('dleyna-server: DLNA plugin'
'tracker: Tracker plugin')
-options=('!emptydirs')
-groups=('gnome')
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('fe66e887847fef9c361bcb7226047c43b2bc22b172aaf22afd5534947cc85b9c')
+groups=(gnome)
+_commit=ab5596b7372a3d9b4a74fc3ff4daa669797a6c5a
+source=("git://git.gnome.org/grilo-plugins#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
@@ -26,11 +36,11 @@
}
check() {
- cd $pkgname-$pkgver
-# make -k check
+ cd $pkgname
+ make -k check || :
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list