1 # Maintainer: Tetsumaki <http://goo.gl/YMBdA>
6 pkgdesc="PS3 Firmware PKG tool"
8 url="http://www.teknoconsolas.es/index.php?q=blogs/waninkoko"
11 optdepends=('geohot-ps3publictools-git' 'gpup' 'ps3-sfo-editor' 'fail0verflow-git')
13 _gitroot="git://github.com/evilsperm/fwtool.git"
19 if [ -d ${_gitname} ]; then
20 cd "${_gitname}" && git pull origin
25 rm -rf "${srcdir}/${_gitname}-build"
26 git clone --depth 1 "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
27 cd "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build"
36 case `file -b --mime-type "${src}"` in
37 "application/x-executable")
38 install -D -m755 "./${src}" "${pkgdir}/usr/bin/${src}";;