archrelease: copy trunk to community-any
[ArchLinux/community.git] / t1utils / repos / community-x86_64 / PKGBUILD
blob45779e81906a57c82e2c77b5a4ebd33736e1a58e
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: Simo Leone <neotuli@gmail.com>
6 pkgname=t1utils
7 pkgver=1.42
8 pkgrel=2
9 pkgdesc="Utilities for manupulating Adobe Type 1 font software "
10 arch=(x86_64)
11 url="https://github.com/kohler/t1utils"
12 license=(custom)
13 depends=(glibc)
14 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
15 sha512sums=('29e983a488a0c51e31fe45572d66cfa8a987d85b32f303873c35d0551db29c09d424eb10e76374f908ef62bc7c60236231bbddf40eb60f1be9652322da4b1f5e')
16 b2sums=('5aabd8a559c79b8c4ee0711ce679dc8a6a091a7606261da7533b16b65295c0c12c0c77ac8f921a36a608e91584f90722c439127feeecde2480e6304428e7e6c0')
18 prepare() {
19   cd $pkgname-$pkgver
20   autoreconf -fiv
23 build() {
24   cd $pkgname-$pkgver
25   ./configure --prefix=/usr
26   make
29 package() {
30   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
32   install -vDm 644 $pkgname-$pkgver/{NEWS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
33   install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"