diff options
author | Serkan Hosca | 2017-04-03 19:30:17 -0400 |
---|---|---|
committer | Serkan Hosca | 2017-04-03 19:30:17 -0400 |
commit | b1cc695e4b6eb3630f3762b51bd64f950fe39a2c (patch) | |
tree | cb2dc7593bc82ae421cd35fa19ec9d9b1ddb653b /PKGBUILD | |
download | aur-b1cc695e4b6eb3630f3762b51bd64f950fe39a2c.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f95e42e629b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Arne Hoch <arne@derhoch.de> + +pkgname=sqlcl +pkgver=4.2.0.17.073.1038 +pkgrel=1 +pkgdesc="SQL Developer command line interface for Oracle" +arch=('i686' 'x86_64') +url="http://www.oracle.com/technetwork/developer-tools/sqlcl/overview/index.html" +license=('custom:OTN') +depends=('java-runtime>=8') + +# Fail if retrieval is attempted of any of the manual:// URLs +DLAGENTS+=('manual::/usr/bin/false'); + +source=("LICENSE" + "manual://${pkgname}-${pkgver}-no-jre.zip" + "sqlcl.sh") +sha256sums=('f904a30b07ddf7806a33620f93b94c3d315154d26a371ece48695bb3555064a2' + '33ee22ad1d78e96ff0b8e5958dadb8440f4aba55b6057caaece8e990adce6fdb' + '80131698ef004e0a15ba7ad90a56c49110c0e2e103217ef1e618b7e9b5bfd05a') + +msg "Warning: This software cannot be downloaded automatically." +plain "You will need to sign up for an Oracle account and download the software from" +plain "Oracle directly. Place the downloaded file in the same directory as the" +plain "PKGBUILD and re-run makepkg." +plain "" +plain "The source .zip files can be downloaded from:" +plain "" +plain "https://www.oracle.com/technetwork/developer-tools/sqlcl/overview/index.html" +plain "" +plain "" + +package() { + cd ${srcdir}/${pkgname} + install -d "${pkgdir}/opt/${pkgname}/lib" + install -d "${pkgdir}/usr/bin" + install -m 644 -t "$pkgdir/opt/${pkgname}/lib" lib/*.jar + install -m 755 ${srcdir}/sqlcl.sh "$pkgdir/usr/bin/sqlcl" +} |