summaryrefslogtreecommitdiff
path: root/community/pstotext/PKGBUILD
blob: 5750f230182866a0089407e72d3602387146b229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 73278 2012-07-05 10:43:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Mike Sampson <mike at sambodata dot com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: froggie <sullivanva@gmail.com>

pkgname=pstotext
pkgver=1.9
pkgrel=2
pkgdesc="Converts Postscript to text"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.cs.wisc.edu/~ghost/doc/pstotext.htm"
license=('GPL')
depends=('ghostscript')
source=(ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/$pkgname-$pkgver.tar.gz)
md5sums=('64576e8a10ff5514e285d98b3898ae78')

build() {
  cd $srcdir/$pkgname-$pkgver
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -Dm755 pstotext $pkgdir/usr/bin/pstotext
  install -Dm644 pstotext.1 $pkgdir/usr/share/man/man1/pstotext.1
}