[arch-commits] Commit in fontconfig/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jan 10 19:19:55 UTC 2017


    Date: Tuesday, January 10, 2017 @ 19:19:54
  Author: heftig
Revision: 285637

Update URLs; some syntax

Modified:
  fontconfig/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-10 19:05:34 UTC (rev 285636)
+++ PKGBUILD	2017-01-10 19:19:54 UTC (rev 285637)
@@ -6,12 +6,12 @@
 pkgrel=4
 pkgdesc="A library for configuring and customizing font access"
 arch=(i686 x86_64)
-url="http://www.fontconfig.org/release/"
+url="https://www.freedesktop.org/wiki/Software/fontconfig/"
 license=('custom')
 depends=('expat' 'freetype2')
 makedepends=('python2' 'docbook2x')
 install=fontconfig.install
-source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.bz2
+source=(https://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.bz2
         fontconfig.hook
         0001-fix-test-with-freetype2-2.7.1.patch)
 sha256sums=('b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3'
@@ -24,7 +24,7 @@
 
 prepare() {
   cd $pkgname-$pkgver
-  patch -Np1 < "$srcdir/0001-fix-test-with-freetype2-2.7.1.patch"
+  patch -Np1 -i ../0001-fix-test-with-freetype2-2.7.1.patch
 }
 
 build() {
@@ -54,5 +54,5 @@
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-  install -Dm644 $srcdir/fontconfig.hook "$pkgdir/usr/share/libalpm/hooks/fontconfig.hook"
+  install -Dm644 ../fontconfig.hook "$pkgdir/usr/share/libalpm/hooks/fontconfig.hook"
 }



More information about the arch-commits mailing list