mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
30 lines
833 B
Bash
30 lines
833 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=t1utils
|
|
pkgver=1.35
|
|
pkgrel=1
|
|
pkgdesc="A collection of simple Type 1 font manipulation programs"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.lcdf.org/~eddietwo/type/#t1utils"
|
|
license=("custom")
|
|
depends=('glibc')
|
|
source=("http://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz"
|
|
LICENSE)
|
|
md5sums=('20e4cd3ffe81f01eff02a5e2320d95b7'
|
|
'5a1334c824d21f0314c831f9fd19a587')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
sed -i 's|getline|xgetline|' t1asm.c
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install
|
|
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|