Permalink
Browse files

implemented installation of guice-no_aop

  • Loading branch information...
1 parent 8578fa6 commit 9ecb45902d87f704720b81cbe9f810379481cdbe @roylines committed Apr 13, 2012
Showing with 39 additions and 0 deletions.
  1. +5 −0 guice-no_aop/PKGBUILD
  2. +34 −0 guice-no_aop/guice-no_aop.install
@@ -5,10 +5,15 @@ pkgver=3.0
pkgrel=1
pkgdesc="a lightweight dependency injection framework for Java, without AOP, suitable for Android"
arch=('any')
+noextract=('guice-3.0-no_aop.jar')
url="http://http://code.google.com/p/google-guice/"
license=('Apache')
source=("guice-3.0-no_aop.jar::http://google-guice.googlecode.com/files/guice-3.0-no_aop.jar")
md5sums=('aa91894a74392a9f50be44ca185baa12')
+package() {
+ cd "${srcdir}"
+ install -Dm644 guice-3.0-no_aop.jar "${pkgdir}/opt/$pkgname/guice-3.0-no_aop.jar"
+}
@@ -0,0 +1,34 @@
+
+## arg 1: the new package version
+#pre_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+#post_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+## arg 2: the old package version
+#pre_upgrade() {
+ # do something here
+#}
+
+## arg 1: the new package version
+## arg 2: the old package version
+#post_upgrade() {
+ # do something here
+#}
+
+## arg 1: the old package version
+#pre_remove() {
+ # do something here
+#}
+
+## arg 1: the old package version
+#post_remove() {
+ # do something here
+#}
+
+# vim:set ts=2 sw=2 et:

0 comments on commit 9ecb459

Please sign in to comment.