1 # Maintainer: Sara <sara at archlinux dot us>
6 pkgdesc="A small ffmpeg-based framebuffer media player"
8 url="http://repo.or.cz/w/fbff.git"
11 optdepends=('libmpeg3: alternative media backend'
16 install=${pkgname}.install
18 _gitroot=git://repo.or.cz/fbff.git
23 msg "Connecting to GIT server...."
25 if [[ -d ${_gitname} ]]; then
28 msg "The local files are updated."
30 git clone "${_gitroot}"
33 msg "Checkout done or server timeout"
34 rm -rf "${srcdir}/${_gitname}-build"
35 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
36 cd "${srcdir}/${_gitname}-build"
38 msg "Starting make..."
43 install -Dm755 "${srcdir}/${_gitname}-build/${_gitname}" "${pkgdir}/usr/bin/${_gitname}"
44 install -Dm644 "${srcdir}/${_gitname}-build/README" "${pkgdir}/usr/share/doc/${_gitname}/README"
47 # vim:set ts=2 sw=2 et: