1 # Maintainer: Sara <sara at archlinux dot us>
6 pkgdesc="A minimal mp3 player using libmad"
8 url="http://repo.or.cz/w/minmad.git"
11 optdepends=('oss: sound support')
16 md5sums=('28f040400e36b02e4c5427f0ef22e951')
18 _gitroot=git://repo.or.cz/minmad.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}"
45 install -Dm644 "${srcdir}/${_gitname}.1" "${pkgdir}/usr/share/man/man1/${_gitname}.1"
48 # vim:set ts=2 sw=2 et: