1. arch=('i686' 'x86_64')
  2. license=('GPL')
  3. url="http://packages.debian.org/de/sid/admin/opie-client"
  4. depends=( 'glibc' )
  5. if [[ $CARCH == "i686" ]]; then
  6.         DARCH="i386"
  7.         md5sums=('265e8e4d08aeadc2ca1fbdd647a2d3a7')
  8. elif [[ $CARCH == "x86_64" ]]; then
  9.         DARCH="amd64"
  10.         md5sums=('07b90e96908567b3ae82276c9528f303')
  11. fi
  12. source=("http://ftp.de.debian.org/debian/pool/main/o/opie/${pkgname}_${pkgver}-10.2_$DARCH.deb")
  13.  
  14. build() {
  15.   ar x ${pkgname}_${pkgver}-10.2_$DARCH.deb
  16.   tar xzf data.tar.gz -C $startdir/pkg
  17. }