blob: 820ccb535c9f7069d29b6954630b7a6f8f72ad27 (
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' 'mips64el')
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
}
|