core/t1lib/PKGBUILD

42 lines
1.1 KiB
Bash
Raw Normal View History

2016-02-24 06:31:49 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/t1lib
2010-05-31 02:34:09 +08:00
pkgname=t1lib
pkgver=5.1.2
2016-02-24 06:31:49 +08:00
pkgrel=3
2010-05-31 02:34:09 +08:00
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
2016-02-24 06:31:49 +08:00
arch=(x86_64)
2010-05-31 02:34:09 +08:00
license=("GPL")
depends=('libxaw')
2016-02-24 06:31:49 +08:00
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
}
2010-05-31 02:34:09 +08:00
build() {
2016-02-24 06:31:49 +08:00
cd $pkgname-$pkgver
2010-05-31 02:34:09 +08:00
./configure --prefix=/usr
2016-02-24 06:31:49 +08:00
make without_doc
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
2010-05-31 02:34:09 +08:00
}