1 # Maintainer: Serge Ziryukin <ftrvxmtrx@gmail.com>
5 pkgdesc="cross-platform (DOS, OS/2, Win32, X11 and SDL) curses implementation"
7 url="http://pdcurses.sourceforge.net/"
9 depends=('xaw3d' 'bash' 'sdl')
11 source=(http://downloads.sourceforge.net/pdcurses/PDCurses-$pkgver.tar.gz
13 md5sums=('4e04e4412d1b1392a7f9a489b95b331a'
14 'be31ab260139287347b19b851a8d4f81')
17 cd "$srcdir/PDCurses-$pkgver"
19 ./configure --prefix=/usr --enable-widec --enable-xim --with-xaw3d --with-x
21 make -C sdl1 || return 1
22 make DESTDIR="$pkgdir/" install || return 1
24 patch -Np0 -i "$srcdir/pdcsdl.patch" || return 1
25 install -c -m 644 sdl1/pdcsdl.h $pkgdir/usr/include/xcurses/pdcsdl.h
26 install -c -m 644 sdl1/libpdcurses.a $pkgdir/usr/lib/libpdcurses.a
28 ln -sf libXCurses.a $pkgdir/usr/lib/libXpanel.a && \
29 ln -sf libXCurses.so $pkgdir/usr/lib/libXpanel.so