#!/bin/bash

INFILE=$1
BASE=${INFILE%%.ipk}

ar x $1 data.tar.gz
mv data.tar.gz $BASE.tar.gz
