blob: fdd29124b893eabf46330fa31e0b87594430b55f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
pkgname=ttf2cxf
pkgver=0.0.0.1
pkgrel=2
pkgdesc="Converts ttf fonts to xcf"
arch=('i686' 'x86_64')
license=('unknown')
depends=('freetype2')
source=(http://ttf2cxf.000webhostapp.com/ttf2cxf-0.0.0.1-src.tar.gz need_math.patch)
md5sums=('3388e3a52b7a8f692c9af1510dda6031'
'66aa899fccdabc54363b13a7eb23edd9')
prepare() {
cd ${pkgname}-${pkgver}-src
patch < ../need_math.patch
}
build() {
cd ${pkgname}-${pkgver}-src
make
}
package() {
cd ${pkgname}-${pkgver}-src
install -Dm755 ${pkgname} "$pkgdir/usr/bin/${pkgname}"
cd "$pkgdir/usr/bin/"
ln -s ${pkgname} ${pkgname}_stream
}
# vim:set ts=2 sw=2 et:
|