Date: Saturday, November 26, 2016 @ 16:56:54 Author: lfleischer Revision: 282077
libgit2-glib: Cleanup and switch to HTTPs sources Modified: libgit2-glib/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-11-26 16:54:48 UTC (rev 282076) +++ PKGBUILD 2016-11-26 16:56:54 UTC (rev 282077) @@ -1,4 +1,4 @@ -# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> # Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> pkgname=libgit2-glib @@ -10,14 +10,14 @@ arch=(i686 x86_64) depends=(glib2 libgit2) makedepends=(gobject-introspection python2 vala gtk-doc) -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +source=("https://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz") sha256sums=('3a211f756f250042f352b3070e7314a048c88e785dba9d118b851253a7c60220') build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --enable-gtk-doc + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool @@ -25,11 +25,11 @@ } check() { - cd $pkgname-$pkgver + cd "$pkgname-$pkgver" make check } package() { - cd $pkgname-$pkgver + cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }