2 # Contributor: Sascha Bennek <s.bennek@gmx.de>
6 pkgdesc="generates modelines for videocards"
8 url="http://www.dynaweb.hu/opensource/videogen/"
11 depends=('bc' 'glibc>=2.7-1')
12 makedepends=('pkgconfig')
13 source=(ftp://sunsite.unc.edu/pub/Linux/X11/xutils/$pkgname-$pkgver.tar.gz)
15 md5sums=('b3828c04783919d518f7b8d3bf57f733')
17 cd "$startdir/src/$pkgname-$pkgver"
18 sed 's_/usr/local/bin_'"$startdir"'/pkg/usr/bin_' <Makefile >Makefile2
19 sed 's_/usr/local/man_'"$startdir"'/pkg/usr/man_' <Makefile2 >Makefile
21 mkdir -p $startdir/pkg/usr/bin
22 mkdir -p $startdir/pkg/usr/man/man1
24 make DESTDIR="$startdir/pkg" install
27 # vim:set ts=2 sw=2 et: