mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 07:54:37 +08:00
t1utils update
This commit is contained in:
parent
70f26cdc3f
commit
097b2b3a26
@ -1,29 +1,30 @@
|
|||||||
#
|
#
|
||||||
# Chakra Packages for Chakra, part of chakra-project.org
|
# Platform Packages for Chakra, part of chakra-project.org
|
||||||
#
|
#
|
||||||
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||||
|
|
||||||
# include global config
|
|
||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
||||||
|
|
||||||
pkgname=t1utils
|
pkgname=t1utils
|
||||||
pkgver=1.35
|
pkgver=1.36
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A collection of simple Type 1 font manipulation programs"
|
pkgdesc="A collection of simple Type 1 font manipulation programs"
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.lcdf.org/~eddietwo/type/#t1utils"
|
url="http://www.lcdf.org/~eddietwo/type/#t1utils"
|
||||||
license=("custom")
|
license=("custom")
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=("http://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz"
|
source=("http://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz"
|
||||||
LICENSE)
|
LICENSE)
|
||||||
md5sums=('20e4cd3ffe81f01eff02a5e2320d95b7'
|
md5sums=('f580e78a38807bce0242b63b5da3a572'
|
||||||
'5a1334c824d21f0314c831f9fd19a587')
|
'5a1334c824d21f0314c831f9fd19a587')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
sed -i 's|getline|xgetline|' t1asm.c
|
sed -i 's|getline|xgetline|' t1asm.c
|
||||||
make || return 1
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user