alarm/imx-vpu fix PKBUILD

This commit is contained in:
pepedog 2014-02-19 16:13:05 +00:00
parent 364fc86858
commit 6be1af986b

View file

@ -18,8 +18,8 @@ md5sums=('61331c9ed2d4c1b3aeab9c35fd034ac3'
prepare() {
cd "${srcdir}"
#chmod for execution, library is packed as binary to accept EULA
chmod +x ${pkgname}-${_pkgver}.bin
./${pkgname}-${_pkgver}.bin --force --auto-accept
# chmod +x ${pkgname}-${_pkgver}.bin
sh ${pkgname}-${_pkgver}.bin --force --auto-accept
sed -n '/EOEULA/,/EOEULA/p' ${pkgname}-${_pkgver}.bin | grep -v EOEULA > LICENSE.$pkgname
}