archrelease: copy trunk to community-any
[ArchLinux/community.git] / pstotext / repos / community-x86_64 / PKGBUILD
blob9e2da319d5f68a0cf842e78aa1af67545eb7042c
1 # Maintainer: Pierre Neidhardt <ambrevar@gmail.com>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Mike Sampson <mike at sambodata dot com>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 # Contributor: froggie <sullivanva@gmail.com>
7 pkgname=pstotext
8 pkgver=1.9
9 pkgrel=7
10 pkgdesc="Converts Postscript to text"
11 arch=('x86_64')
12 url="https://www.cs.wisc.edu/~ghost/doc/pstotext.htm"
13 license=('GPL')
14 depends=('ghostscript')
15 source=(ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/$pkgname-$pkgver.tar.gz)
16 md5sums=('64576e8a10ff5514e285d98b3898ae78')
17 sha256sums=('cfe0a251d0d43982a7d3bdf1d1670c854432739d00cb593c9beaca4b2cc36c27')
19 build() {
20   cd "$srcdir"/$pkgname-$pkgver
21   make
24 package() {
25   cd "$srcdir"/$pkgname-$pkgver
26   install -Dm755 pstotext "$pkgdir"/usr/bin/pstotext
27   install -Dm644 pstotext.1 "$pkgdir"/usr/share/man/man1/pstotext.1