Date: Thursday, January 26, 2017 @ 20:54:45 Author: heftig Revision: 287542
3.8.4+33+g5ecfd0e-1 Modified: nautilus-sendto/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-26 20:52:54 UTC (rev 287541) +++ PKGBUILD 2017-01-26 20:54:45 UTC (rev 287542) @@ -1,24 +1,37 @@ # $Id$ -# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> # Contributor: Eduardo Romero <edua...@archlinux.org> # Contributor: Tor Krill <t...@krill.nu> pkgname=nautilus-sendto -pkgver=3.8.4 -pkgrel=2 +pkgver=3.8.4+33+g5ecfd0e +pkgrel=1 pkgdesc="Easily send files via mail" arch=(i686 x86_64) url="https://git.gnome.org/browse/nautilus-sendto" license=(GPL) depends=(glib2) -makedepends=(gettext intltool gobject-introspection python2) +makedepends=(gettext intltool gobject-introspection python2 gnome-common git) options=('!emptydirs') groups=('gnome-extra') -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) -sha256sums=('51065c6e2601560a8bc507c7aee8e967dc6c6f355c6a05a1d4e7e1fe76b908e7') +_commit=5ecfd0e69a7988d0a5a204c7c0070cab6136709f # master +source=("git+https://git.gnome.org/browse/nautilus-sendto#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^NAUTILUS_SENDTO_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + # Fixup tags for pkgver() + git tag -f NAUTILUS_SENDTO_3_8_4 eaf083dec2846dc76f72d82755c65f6dc7bf3c86 + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-schemas-compile make @@ -25,6 +38,6 @@ } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" make DESTDIR="$pkgdir" install }