diff options
author | Georg Schlisio | 2016-06-29 14:31:17 +0200 |
---|---|---|
committer | Georg Schlisio | 2016-06-29 14:31:17 +0200 |
commit | 62d5b575087af617e2c1c59e7e8a5ec04e47e28e (patch) | |
tree | 94f4eeb0dae571f3fb0004ab10e8d0b8e46f60cb /PKGBUILD | |
parent | 14054df8b83fb637c6a7b3e33de97f19371a60c4 (diff) | |
download | aur-62d5b575087af617e2c1c59e7e8a5ec04e47e28e.tar.gz |
moved to hooks
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -1,20 +1,25 @@ -# Maintainer: Tom Kuther <archlinux@kuther.net> -# Maintainer: kevku <kevku@gmx.com> +# former Maintainer: Tom Kuther <archlinux@kuther.net> +# former Maintainer: kevku <kevku@gmx.com> # Contributor: Cedric Sougne <cedric@sougne.name> # Contributor: Tom < reztho at archlinux dot us > pkgname=java-jce_ustrength pkgver=8 -pkgrel=2 +pkgrel=3 pkgdesc="Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8" arch=('any') url="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" license=('custom') install=${pkgname}.install depends=('java-runtime>=8') -source=('http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip' 'install_java_jce_ustrength') +source=('http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip' + 'install_java_jce_ustrength' + "${pkgname}-install.hook" + "${pkgname}-uninstall.hook") DLAGENTS=('http::/usr/bin/curl -LC - -b oraclelicense=a -O') sha256sums=('f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59' - '3c7cc3b3aa0d748ce540ef4b679a1e01e3609144d3ca37ec9885d05d44d4c467') + '3c7cc3b3aa0d748ce540ef4b679a1e01e3609144d3ca37ec9885d05d44d4c467' + '0d9940a49b4c9933e7cdc2c237d6f275a898e40a7a9505df81aa474d90579ff9' + 'd8a48f9980744ea00d5373984154137b0042276c94c4cd8465b95fb4b1fad72a') package() { cd "$srcdir/UnlimitedJCEPolicyJDK8" @@ -27,5 +32,9 @@ package() { # The documentation install -Dm644 README.txt "${pkgdir}/usr/share/doc/java-jce_ustrength/README.txt" -} + # Install hooks + cd "$srcdir" + install -Dm644 ${pkgname}-install.hook "$pkgdir/usr/share/libalpm/hooks/${pkgname}-install.hook" + install -Dm644 ${pkgname}-uninstall.hook "$pkgdir/usr/share/libalpm/hooks/${pkgname}-uninstall.hook" +} |