db-move: moved evolution from [testing] to [extra] (x86_64)
[arch-packages.git] / t1lib / trunk / PKGBUILD
blob45a6d39035048540db9a50466644524459452a9e
1 # Maintainer: tobias <tobias@archlinux.org>
2 # Contributor: Rainer Moll <renari@arcor.de>
4 pkgname=t1lib
5 pkgver=5.1.2
6 pkgrel=8
7 pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
8 arch=('x86_64')
9 url="https://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
10 license=('GPL')
11 depends=('libxaw')
12 source=(https://www.ibiblio.org/pub/Linux/libs/graphics/${pkgname}-${pkgver}.tar.gz
13         lib-cleanup.diff
14         format-security.diff
15         CVE-2011-0764.diff
16         CVE-2011-1552_1553_1554.patch
17         CVE-2010-2642.patch)
18 sha256sums=('821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59'
19             '5b161f4e0f4ad297ad8eea70ea99620f5db6f7e487bbd63a819b6a9958540961'
20             '89b0aa7ca57fd8e9753336033c1d3e3e58c6c79e943144430e8af9a4626fdd25'
21             'a763650bdcffd33a61cd2cecef766b8d6baa9999561463ae9dfdc20d55caef04'
22             '4bc34e092fdec37e06b38b5b7a3b02194732dbe6a39edbd174b36c2db1f113ac'
23             'dcd9064f368e0fc1f3ede0a45e61b364f6b5d3607dccae78ac07e74ca315a27d')
25 prepare() {
26   cd $pkgname-$pkgver
27   patch -Np1 -i ../lib-cleanup.diff
28   patch -Np1 -i ../format-security.diff
29   patch -Np1 -i ../CVE-2011-0764.diff
30   patch -Np1 -i ../CVE-2011-1552_1553_1554.patch
31   patch -Np1 -i ../CVE-2010-2642.patch
34 build() {
35   cd $pkgname-$pkgver
36   ./configure --prefix=/usr
37   make without_doc
40 package() {
41   cd $pkgname-$pkgver
42   make DESTDIR="${pkgdir}" install