summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d859629148c..c57739f9e57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Wed Jun 8 18:00:42 UTC 2016
pkgbase = hp2xx
pkgdesc = Convert vector-oriented graphics data from HP-GL plotter language into a variety of popular graphics formats.
pkgver = 3.4.4
diff --git a/PKGBUILD b/PKGBUILD
index 3a02cc5d246..1cb9edaaa0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,22 +13,22 @@ md5sums=('18808580d24b7caf2c4c7045c093329f'
'22d577c7f10ada9370e06cf095af9ae9')
prepare() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
patch -p1 < $srcdir/libpng.patch
sed -i '95s+\@+ at +' doc/hp2xxinf.tex
}
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make all
cd doc
makeinfo hp2xxinf.tex -o hp2xx.info
}
package () {
- cd $srcdir/$pkgname-$pkgver
+ 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"
+ make install prefix="$pkgdir"/usr \
+ man1dir="$pkgdir"/usr/share/man/man1 \
+ infodir="$pkgdir"/usr/share/info
}