blob: 1cb9edaaa0f7124ef6d4a4092ad7daa5e9b71d32 (
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
28
29
30
31
32
33
34
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=hp2xx
pkgver=3.4.4
pkgrel=4
pkgdesc="Convert vector-oriented graphics data from HP-GL plotter language into a variety of popular graphics formats."
arch=('i686' 'x86_64')
depends=('libpng' 'libtiff' 'libjpeg' 'libx11')
url="http://www.gnu.org/software/$pkgname/"
license=('GPL')
source=("http://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.gz" libpng.patch)
md5sums=('18808580d24b7caf2c4c7045c093329f'
'22d577c7f10ada9370e06cf095af9ae9')
prepare() {
cd $pkgname-$pkgver
patch -p1 < $srcdir/libpng.patch
sed -i '95s+\@+ at +' doc/hp2xxinf.tex
}
build() {
cd $pkgname-$pkgver
make all
cd doc
makeinfo hp2xxinf.tex -o hp2xx.info
}
package () {
cd $pkgname-$pkgver
install -d "$pkgdir"/usr/share/{man/man1,info} "$pkgdir"/usr/bin
make install prefix="$pkgdir"/usr \
man1dir="$pkgdir"/usr/share/man/man1 \
infodir="$pkgdir"/usr/share/info
}
|