mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
31 lines
780 B
Bash
31 lines
780 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=t1utils
|
|
pkgver=1.36
|
|
pkgrel=1
|
|
pkgdesc="A collection of simple Type 1 font manipulation programs"
|
|
arch=('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=('f580e78a38807bce0242b63b5da3a572'
|
|
'5a1334c824d21f0314c831f9fd19a587')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
sed -i 's|getline|xgetline|' t1asm.c
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|