diff options
Diffstat (limited to 'community/catdvi')
-rw-r--r-- | community/catdvi/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/community/catdvi/PKGBUILD b/community/catdvi/PKGBUILD index cb8321332..855d8bb08 100644 --- a/community/catdvi/PKGBUILD +++ b/community/catdvi/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 65072 2012-02-20 03:29:57Z spupykin $ +# $Id: PKGBUILD 110060 2014-04-23 16:48:04Z spupykin $ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Xilon <xilonmu@gmail.com> pkgname=catdvi pkgver=0.14 -pkgrel=5 +pkgrel=6 pkgdesc="A DVI to plain text translator" arch=('i686' 'x86_64') url="http://catdvi.sourceforge.net" @@ -16,22 +16,20 @@ source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" md5sums=('b18eac65baf522c1e37bb3dc37ab42c3' '509f61a30d3758e5d102c124bc5fa9a0') -build() { +prepare() { cd "$srcdir/$pkgname-$pkgver" - patch -p1 -i "${srcdir}"/texlive2008.patch - autoconf +} +build() { + cd "$srcdir/$pkgname-$pkgver" + autoconf ./configure --prefix=/usr --mandir=/usr/share/man - - install -d $pkgdir/usr/bin $pkgdir/usr/share/man/man1 - sed -i "s#\(bindir = \)\(.*\)#\1$pkgdir\2#" config.mk - sed -i "s#\(mandir = \)\(.*\)#\1$pkgdir\2#" config.mk - make } package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + install -d $pkgdir/usr/bin $pkgdir/usr/share/man/man1 + make DESTDIR="$pkgdir" install bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man } |