--- /dev/null
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_basename=instantclient
+_realname=instantclient-rt
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=11.2.0.4.0
+pkgrel=1
+arch=('any')
+pkgdesc="Light replacement for the Oracle client (runtime) (mingw-w64)"
+depends=()
+makedepends=("rsync"
+ "unzip")
+options=('!strip')
+license=("Oracle")
+url="http://saetta.ns0.it/"
+
+case "$CARCH" in
+ i686)
+ filename=${_basename}-basiclite-nt-${pkgver}.zip
+ ;;
+ x86_64)
+ filename=${_basename}-basiclite-windows.x64-${pkgver}.zip
+ ;;
+esac
+
+package() {
+ cd "${srcdir}/.."
+
+ rsync -av --progress andreaz@saetta.ns0.it:/home/andreaz/Scaricati/oracle/${filename} .
+
+ unzip -o -d "${srcdir}/$CARCH" ${filename}
+
+ cd "${srcdir}/$CARCH/${_basename}_11_2"
+
+ install -d "${pkgdir}${MINGW_PREFIX}/bin"
+ install -t "${pkgdir}${MINGW_PREFIX}/bin" *.dll
+
+ cp -f "${pkgdir}${MINGW_PREFIX}/bin/oci.dll" "${pkgdir}${MINGW_PREFIX}/bin/liboci.dll"
+}