1 # Maintainer: Sara <sara at archlinux dot us>
6 pkgdesc="A small linux framebuffer virtual terminal, with 256 colors"
8 url="http://repo.or.cz/w/fbpad.git"
10 optdepends=('ft2tf: TTF to tiny font converter')
11 makedepends=('git' 'ncurses')
16 install=${pkgname}.install
17 md5sums=('e533aec27033997e2f2b2abdd43d9fa6'
18 '185b9d6ec1c539213226a3e2509c7ccd')
20 _gitroot=git://repo.or.cz/fbpad.git
25 msg "Connecting to GIT server...."
27 if [[ -d ${_gitname} ]]; then
30 msg "The local files are updated."
32 git clone "${_gitroot}" -b bold
34 git pull "${_gitroot}" master:origin
36 msg "Checkout done or server timeout"
37 rm -rf "${srcdir}/${_gitname}-build"
38 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
39 cd "${srcdir}/${_gitname}-build"
41 cp "${srcdir}"/config.h config.h
43 msg "Starting make..."
48 install -Dm755 "${srcdir}/${_gitname}-build/${_gitname}" "${pkgdir}/usr/bin/${_gitname}"
49 install -Dm644 "${srcdir}/${_gitname}-build/README" "${pkgdir}/usr/share/doc/${_gitname}/README"
51 install -dm755 "${pkgdir}/usr/share/terminfo"
52 tic -x -o "${pkgdir}/usr/share/terminfo" "${_gitname}-256.info"
55 # vim:set ts=2 sw=2 et: