1 # Maintainer: Tetsumaki <http://goo.gl/YMBdA>
3 pkgname=geohot-ps3publictools-git
6 pkgdesc="geohot's public tools for the PS3"
8 url="https://github.com/geohot/ps3publictools"
11 optdepends=('ps3-sfo-editor' 'fwtool-git' 'fail0verflow-ps3tools-git')
13 _gitroot="git://github.com/geohot/ps3publictools.git"
14 _gitname="ps3publictools"
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/build"
36 case `file -b --mime-type "${src}"` in
37 "application/x-executable")
38 install -D -m755 "./${src}" "${pkgdir}/usr/bin/${src}";;