Date: Thursday, September 22, 2016 @ 12:34:00 Author: jgc Revision: 276827
upgpkg: gnome-online-miners 3.22.0-1 Modified: gnome-online-miners/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-22 10:33:34 UTC (rev 276826) +++ PKGBUILD 2016-09-22 12:34:00 UTC (rev 276827) @@ -2,7 +2,7 @@ # Contributor: Ionut Biru <ib...@archlinux.org> pkgname=gnome-online-miners -pkgver=3.20.1 +pkgver=3.22.0 pkgrel=1 pkgdesc="Crawls through your online content" arch=(i686 x86_64) @@ -9,12 +9,23 @@ url="https://wiki.gnome.org/Projects/GnomeOnlineMiners" license=(GPL) depends=(libgdata gnome-online-accounts grilo libzapojit tracker gfbgraph dleyna-server) -makedepends=(python) -source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('fd67b9abad6233689a921d84dbe583a8b89d5ade7f1b5d2f348493888baa3429') - +makedepends=(python gnome-common git) +_commit=80575f36b81cc0a4bd333f8b0948a6c3170c1af3 +source=("git://git.gnome.org/gnome-online-miners#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 --libexecdir=/usr/lib/$pkgname --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make @@ -21,7 +32,7 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }