Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 28th, 2012  |  syntax: Diff  |  size: 2.11 KB  |  views: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- PKGBUILD.old        2012-05-28 09:13:26.576786096 +0000
  2. +++ PKGBUILD    2012-05-28 09:13:07.813162255 +0000
  3. @@ -2,13 +2,13 @@
  4.  # Maintainer: Artyom Olshevskiy <siasia@siasia>
  5.  pkgname=java-service-wrapper
  6.  pkgver=3.5.14
  7. -pkgrel=2
  8. +pkgrel=3
  9.  pkgdesc="Enables a Java Application to be run as a Windows Service or Unix Daemon"
  10.  url="http://wrapper.tanukisoftware.com/"
  11.  arch=('i686' 'x86_64')
  12.  license=('GPL')
  13.  depends=(java-runtime)
  14. -makedepends=(apache-ant)
  15. +makedepends=(apache-ant junit)
  16.  conflicts=()
  17.  replaces=()
  18.  backup=()
  19. @@ -20,12 +20,14 @@
  20.         cd $srcdir/wrapper_${pkgver}_src
  21.         [ "$CARCH" = "i686" ] && ./build32.sh
  22.         [ "$CARCH" = "x86_64" ] && ./build64.sh
  23. -}
  24. -package() {
  25. -       mkdir -p $pkgdir/usr/share/java/servicewrapper
  26. -       cd $pkgdir/usr/share/java/servicewrapper
  27. -       cp $srcdir/wrapper_${pkgver}_src/src/bin/sh.script.in .
  28. -       cp $srcdir/wrapper_${pkgver}_src/bin/wrapper .
  29. -       cp $srcdir/wrapper_${pkgver}_src/lib/wrapper.jar .
  30. -       cp $srcdir/wrapper_${pkgver}_src/lib/libwrapper.so .
  31. +       install -d $pkgdir/usr/share/doc/java-service-wrapper
  32. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/README* $pkgdir/usr/share/doc/java-service-wrapper
  33. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/conf/wrapper.conf $pkgdir/usr/share/doc/java-service-wrapper
  34. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/doc/index.html $pkgdir/usr/share/doc/java-service-wrapper
  35. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/doc/revisions.txt $pkgdir/usr/share/doc/java-service-wrapper/changelog
  36. +       install -m644 $srcdir/wrapper_${pkgver}_src/doc/wrapper-community-license-1.1.txt $pkgdir/usr/share/doc/java-service-wrapper/LICENSE
  37. +       install -m644 $srcdir/wrapper_${pkgver}_src/src/bin/sh.script.in $pkgdir/usr/share/doc/java-service-wrapper
  38. +       install -Dm755 $srcdir/wrapper_${pkgver}_src/bin/wrapper $pkgdir/usr/sbin/wrapper
  39. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/lib/wrapper.jar $pkgdir/usr/share/java/wrapper.jar
  40. +       install -Dm644 $srcdir/wrapper_${pkgver}_src/lib/libwrapper.so $pkgdir/usr/lib/libwrapper.so
  41.  }