summaryrefslogtreecommitdiff
path: root/extra/t1lib/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 22:45:31 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 22:45:31 -0300
commit27a90a9d957b56dac972c9df0febb6262fb90dce (patch)
tree79251bdfb00539a1ddf1592d80eacd47971dcf24 /extra/t1lib/PKGBUILD
parent87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (diff)
parent8185891e28635bdb83fdf4ba4391030912dae596 (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: libre/audacious-plugins-libre/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'extra/t1lib/PKGBUILD')
-rw-r--r--extra/t1lib/PKGBUILD31
1 files changed, 25 insertions, 6 deletions
diff --git a/extra/t1lib/PKGBUILD b/extra/t1lib/PKGBUILD
index 251c98d9c..1fa675aba 100644
--- a/extra/t1lib/PKGBUILD
+++ b/extra/t1lib/PKGBUILD
@@ -1,25 +1,44 @@
-# $Id: PKGBUILD 197366 2013-10-25 02:59:44Z allan $
+# $Id: PKGBUILD 206078 2014-02-17 09:58:12Z jgc $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Rainer Moll <renari@arcor.de>
pkgname=t1lib
pkgver=5.1.2
-pkgrel=4
+pkgrel=5
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
license=('GPL')
depends=('libxaw')
-source=(http://www.ibiblio.org/pub/Linux/libs/graphics/${pkgname}-${pkgver}.tar.gz )
-md5sums=('a5629b56b93134377718009df1435f3c')
+source=(http://www.ibiblio.org/pub/Linux/libs/graphics/${pkgname}-${pkgver}.tar.gz
+ lib-cleanup.diff
+ format-security.diff
+ CVE-2011-0764.diff
+ CVE-2011-1552_1553_1554.patch
+ CVE-2010-2642.patch)
+md5sums=('a5629b56b93134377718009df1435f3c'
+ '82dafb6051d64a94f32c73d59649ddd0'
+ 'b947e6a732729db2819d4f857a686e2f'
+ '60fb9f058a6bb1f760ddaf2ed7d71879'
+ '22e03d81fab188139acbe7fd3a0a706a'
+ '2283c116d1dda278ee77ef27c1a8e397')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../lib-cleanup.diff
+ patch -Np1 -i ../format-security.diff
+ patch -Np1 -i ../CVE-2011-0764.diff
+ patch -Np1 -i ../CVE-2011-1552_1553_1554.patch
+ patch -Np1 -i ../CVE-2010-2642.patch
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make without_doc
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}