[arch-commits] Commit in seahorse-nautilus/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jan 26 20:36:38 UTC 2017
Date: Thursday, January 26, 2017 @ 20:36:38
Author: heftig
Revision: 287532
3.11.92+17+gca04c23-1
Modified:
seahorse-nautilus/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++++++++++++-------------
1 file changed, 25 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-26 20:34:09 UTC (rev 287531)
+++ PKGBUILD 2017-01-26 20:36:38 UTC (rev 287532)
@@ -3,25 +3,37 @@
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=seahorse-nautilus
-pkgver=3.11.92
-pkgrel=2
+pkgver=3.11.92+17+gca04c23
+pkgrel=1
pkgdesc="PGP encryption and signing for nautilus"
-arch=('i686' 'x86_64')
-url="http://git.gnome.org/browse/seahorse-nautilus/"
-license=('GPL')
-depends=('libcryptui' 'gcr' 'nautilus')
-makedepends=('intltool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('70374f9bb46a0adfbd154f4094e7a05b7766abfe60845a0a49463b4d15f17f92')
+arch=(i686 x86_64)
+url="https://git.gnome.org/browse/seahorse-nautilus/"
+license=(GPL)
+depends=(libcryptui gcr nautilus)
+makedepends=(intltool gnome-common git libgnome-keyring)
+_commit=ca04c239f00cce931ccb8680bba528507a154368 # master
+source=("git+https://git.gnome.org/browse/seahorse-nautilus#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-compile --disable-gpg-check
+ --disable-static --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list