summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrealgagu2018-03-21 12:14:02 -0500
committerfrealgagu2018-03-21 12:14:02 -0500
commit28eb168d0cdc3418c5dacb3ae165b3e468085385 (patch)
tree499bcbb2c90bf0a23465360711bdb4da83b9622e
parent97b59e230bcc150140ce2da5165e242019aa84b3 (diff)
downloadaur-28eb168d0cdc3418c5dacb3ae165b3e468085385.tar.gz
Upgrading to version 2.9
-rw-r--r--.SRCINFO41
-rw-r--r--PKGBUILD65
-rw-r--r--freetype2.install6
3 files changed, 44 insertions, 68 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a2cf043f2bd..73ecd6d36b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Wed Jul 12 21:20:18 UTC 2017
pkgbase = freetype2-infinality
pkgdesc = Font rasterization library with Infinality patches and custom settings.
- pkgver = 2.8
+ pkgver = 2.9
pkgrel = 1
url = http://www.freetype.org/
install = freetype2.install
@@ -11,32 +9,27 @@ pkgbase = freetype2-infinality
arch = x86_64
license = GPL
makedepends = libx11
- depends = zlib
depends = bzip2
- depends = sh
- depends = libpng
depends = harfbuzz
- provides = freetype2=2.8
- provides = libfreetype.so
+ depends = libpng
+ depends = sh
+ depends = zlib
+ provides = freetype2=2.9
provides = freetype2-infinality-ultimate
+ provides = libfreetype.so
conflicts = freetype2
backup = etc/profile.d/freetype2.sh
- source = http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.bz2
- source = http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.bz2.sig
- source = http://download.savannah.gnu.org/releases/freetype/freetype-doc-2.8.tar.bz2
- source = http://download.savannah.gnu.org/releases/freetype/freetype-doc-2.8.tar.bz2.sig
- source = 0001-Enable-table-validation-modules.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/0001-Enable-table-validation-modules.patch?id=c419271e92acf355fc52824eb93e69b5c9f29d40
- source = 0004-Enable-long-PCF-family-names.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/0004-Enable-long-PCF-family-names.patch?id=c419271e92acf355fc52824eb93e69b5c9f29d40
- source = freetype2.sh::https://git.archlinux.org/svntogit/packages.git/plain/trunk/freetype2.sh?id=c419271e92acf355fc52824eb93e69b5c9f29d40
- source = https://raw.githubusercontent.com/djpohly/infinality_bundle/4db742f46f3b790d90183d44b166b44fb8e8197c/01_freetype2-iu/0002-infinality-2.8-2017.05.24.patch
- sha1sums = 42c6b1f733fe13a3eba135f5025b22cb68450f91
- sha1sums = SKIP
- sha1sums = 5b221ee14fe674cd5f6db0193d55360bc0bd3655
- sha1sums = SKIP
- sha1sums = c3e91e668936206d3c158bffde0f69788a086a5b
- sha1sums = 334f229875039794adeb574e27d365bb445fb314
- sha1sums = bc6df1661c4c33e20f5ce30c2da8ad3c2083665f
- sha1sums = 4b442f097eeae28516b43c659a3d7a679129052c
+ source = http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.gz
+ source = http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.gz.sig
+ source = http://download.savannah.gnu.org/releases/freetype/freetype-doc-2.9.tar.gz
+ source = http://download.savannah.gnu.org/releases/freetype/freetype-doc-2.9.tar.gz.sig
+ source = freetype2.sh::https://raw.githubusercontent.com/archfan/infinality_bundle/master/01_freetype2-iu/freetype2.sh
+ validpgpkeys = 58E0C111E39F5408C5D3EC76C1A60EACE707FDA5
+ sha256sums = bf380e4d7c4f3b5b1c1a7b2bf3abb967bda5e9ab480d0df656e0e08c5019c5e6
+ sha256sums = 06460168615c4c69293e4126c7e69731b7cc7d4db5470bca3cb95c05807993e2
+ sha256sums = 9312f7d2e5c798684d39e1fecddfed8e29d2102f035c4bd765157e2d077175f8
+ sha256sums = 37c0ee3d983769a50a33292f547bec8d0dc064da62090dd7690bedf2d1dba7d0
+ sha256sums = f7f8e09c44f7552c883846e9a6a1efc50377c4932234e74adc4a8ff750606467
pkgname = freetype2-infinality
diff --git a/PKGBUILD b/PKGBUILD
index fdac862c9b1..33eac692c30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,64 +1,49 @@
-# Maintainer : Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
+# Maintainer : Fredy GarcĂ­a <frealgagu at gmail dot com>
+# Contributor: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: JIN Xiao-Yong <jinxiaoyong@gmail.com>
# Contributor: bohoomil <@zoho.com>
pkgname=freetype2-infinality
-pkgver=2.8
+pkgver=2.9
pkgrel=1
pkgdesc="Font rasterization library with Infinality patches and custom settings."
-arch=(armv7h i686 x86_64)
-license=('GPL')
-url="http://www.freetype.org/"
+arch=("armv7h" "i686" "x86_64")
+license=("GPL")
+url="http://www.${pkgname%2-infinality}.org/"
# adding harfbuzz for improved OpenType features auto-hinting
# introduces a cycle dep to harfbuzz depending on freetype wanted by upstream
-depends=('zlib' 'bzip2' 'sh' 'libpng' 'harfbuzz')
-makedepends=('libx11')
-conflicts=('freetype2')
-provides=("freetype2=$pkgver" 'libfreetype.so' 'freetype2-infinality-ultimate')
-install=freetype2.install
-backup=('etc/profile.d/freetype2.sh')
-_abs_commit=c419271e92acf355fc52824eb93e69b5c9f29d40
-_infinality_commit=4db742f46f3b790d90183d44b166b44fb8e8197c
-source=(http://download.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.bz2{,.sig}
- http://download.savannah.gnu.org/releases/freetype/freetype-doc-${pkgver}.tar.bz2{,.sig}
- "0001-Enable-table-validation-modules.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/0001-Enable-table-validation-modules.patch?id=${_abs_commit}"
- "0004-Enable-long-PCF-family-names.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/0004-Enable-long-PCF-family-names.patch?id=${_abs_commit}"
- "freetype2.sh::https://git.archlinux.org/svntogit/packages.git/plain/trunk/freetype2.sh?id=${_abs_commit}"
- "https://raw.githubusercontent.com/djpohly/infinality_bundle/${_infinality_commit}/01_freetype2-iu/0002-infinality-2.8-2017.05.24.patch")
-sha1sums=('42c6b1f733fe13a3eba135f5025b22cb68450f91'
- 'SKIP'
- '5b221ee14fe674cd5f6db0193d55360bc0bd3655'
- 'SKIP'
- 'c3e91e668936206d3c158bffde0f69788a086a5b'
- '334f229875039794adeb574e27d365bb445fb314'
- 'bc6df1661c4c33e20f5ce30c2da8ad3c2083665f'
- '4b442f097eeae28516b43c659a3d7a679129052c')
-validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5')
-
-prepare() {
- cd freetype-${pkgver}
-
- patch -Np1 -i ../0001-Enable-table-validation-modules.patch
- patch -Np1 -i ../0004-Enable-long-PCF-family-names.patch
- patch -Np1 -i ../0002-infinality-2.8-2017.05.24.patch
-}
+depends=("bzip2" "harfbuzz" "libpng" "sh" "zlib")
+makedepends=("libx11")
+conflicts=("${pkgname%-infinality}")
+provides=("${pkgname%-infinality}=${pkgver}" "${pkgname}-ultimate" "lib${pkgname%2-infinality}.so")
+install="${pkgname%-infinality}.install"
+backup=("etc/profile.d/${pkgname%-infinality}.sh")
+source=(http://download.savannah.gnu.org/releases/${pkgname%2-infinality}/${pkgname%2-infinality}-${pkgver}.tar.gz{,.sig}
+ http://download.savannah.gnu.org/releases/${pkgname%2-infinality}/${pkgname%2-infinality}-doc-${pkgver}.tar.gz{,.sig}
+ "${pkgname%-infinality}.sh::https://raw.githubusercontent.com/archfan/infinality_bundle/master/01_${pkgname%-infinality}-iu/${pkgname%-infinality}.sh")
+sha256sums=("bf380e4d7c4f3b5b1c1a7b2bf3abb967bda5e9ab480d0df656e0e08c5019c5e6"
+ "06460168615c4c69293e4126c7e69731b7cc7d4db5470bca3cb95c05807993e2"
+ "9312f7d2e5c798684d39e1fecddfed8e29d2102f035c4bd765157e2d077175f8"
+ "37c0ee3d983769a50a33292f547bec8d0dc064da62090dd7690bedf2d1dba7d0"
+ "f7f8e09c44f7552c883846e9a6a1efc50377c4932234e74adc4a8ff750606467")
+validpgpkeys=("58E0C111E39F5408C5D3EC76C1A60EACE707FDA5")
build() {
- cd freetype-${pkgver}
+ cd "${pkgname%2-infinality}-${pkgver}"
./configure --prefix=/usr --disable-static
make
}
check() {
- cd freetype-${pkgver}
+ cd "${pkgname%2-infinality}-${pkgver}"
make -k check
}
package() {
- cd freetype-${pkgver}
+ cd "${pkgname%2-infinality}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -Dm644 ../freetype2.sh "${pkgdir}/etc/profile.d/freetype2.sh"
+ install -Dm644 ../${pkgname%-infinality}.sh "${pkgdir}/etc/profile.d/${pkgname%-infinality}.sh"
# Package docs
install -dm755 "${pkgdir}/usr/share/doc"
diff --git a/freetype2.install b/freetype2.install
index 5d4d1e7856c..c8db8c6492e 100644
--- a/freetype2.install
+++ b/freetype2.install
@@ -1,8 +1,6 @@
post_upgrade() {
if (( $(vercmp $2 2.7-1) < 0 )); then
- cat <<MSG
- The Arch-specific FT2_SUBPIXEL_HINTING has been removed.
- Subpixel hinting is now configured in /etc/profile.d/freetype2.sh .
-MSG
+ echo "The Arch-specific FT2_SUBPIXEL_HINTING has been removed."
+ echo "Subpixel hinting is now configured in /etc/profile.d/freetype2.sh ."
fi
}