blob: 880a5bdacac723e3af5def4220b69431def058ec (
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
|
# Contributor: Xilon <xilonmu@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=catdvi
pkgver=0.14
pkgrel=3
pkgdesc="A DVI to plain text translator"
arch=('i686' 'x86_64')
url="http://catdvi.sourceforge.net"
license=('GPL')
depends=('glibc' 'texlive-core')
maedepends=('texlive-fontsextra')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('b18eac65baf522c1e37bb3dc37ab42c3')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
install -d $pkgdir/usr/bin $pkgdir/usr/share/man/man1 || return 1
sed -i "s#\(bindir = \)\(.*\)#\1$pkgdir\2#" config.mk || return 1
sed -i "s#\(mandir = \)\(.*\)#\1$pkgdir\2#" config.mk || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
|