diff options
author | James Meyer <james.meyer@operamail.com> | 2013-02-19 21:10:18 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-02-19 21:10:18 (GMT) |
commit | 2648e999d277eac5c3d331a3609bcc73fafbea71 (patch) | |
tree | 40951fb8e7fdbe28a0baa324ae615055203f1e2e /abs/extra/apache-ant | |
parent | c759b5e0c4aa6fc37412b4dee2cf9ad993fd376d (diff) | |
parent | 7e6f7ca174e1af67178dc5293a312a4a733eb095 (diff) | |
download | linhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.zip linhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.tar.gz linhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.tar.bz2 |
Merge branch 'testing'
# By James Meyer (1091) and others
# Via James Meyer (5) and others
* testing: (1148 commits)
LinHES-config: during install don't kill off lirc. This keeps the remote active all the way to the finish
Change version numbers to 8.0 to match the release number. LinHES-conifg LinHES-system mythdb-initial runit-scripts supplemental-web
LinHES-conifig: mv_install.py for the last partition don't go all the way to the end. Gotta leave room for gpt tables.
xf86-video-ati: xorg ati driver.
LinHES-config: timezip.py add syncing up of parental lvl passwords and starting level with MBE.
LinHES-system: correct the logic for breaking out of the wmctrl loop. As written it would break out of the inner loop..but not the 60 iteration loop.
e16_theme_settings: remove slide-in prop for new windows. For whatever reason this was preventing mplayer from being positioned correctly for appletrailers.
LinHES-config, mythinstall: change case of hd_pvr and serial to all lower refs #902
zilog-firmware: firmware for TX support of the hdpvr and pvr-150 In general I can't recommend anybody using these transmitters but including the firmware just in case someone really wants to
linhes-udev-rules: added hdprv_lirc rule. All of these lirc rules are limited to exactly one device. If more then one device is present then only the last device in init will get the symlink
runit-scripts: fix logging for igdeamon, add support to remote init script so that the blaster is always the first device in the chain. added support specificly for hd_pvr
LinHES-system: add lh_system_restore and lh_system_backup. These scripts are called from the mythmenu. refs #900
iguanair: rebuild with python 2.7
LinHES-system: msg_daemon.py fix init and nasty bug related to timeout. In a nutshell timeout wouldn't work unless a msg without a timeout was called first.
linhes-udev-rules: add rules for mce,streamzap,serial lirc devices.
mythinstall: recompile for matching libs
mythtv: latest .25-fixes and change mythbackup/restore call lh_system_$op to replace mythbackup/mythrestore. mythbackup no longer works correctly with the new windowmanager
linhes-scripts: myth2mp3, myth2x264, myth2xvid: use mythutil to get cutlist
LinHES-config, supplimental-web: Fix proxy numbering for Ceton infiniTV
linhes-system: add additional stuff to the system backup and also introduced an exclude file. The exclude/include files are locate in /home/mythtv/backup_config/
...
Diffstat (limited to 'abs/extra/apache-ant')
-rw-r--r-- | abs/extra/apache-ant/PKGBUILD | 89 | ||||
-rw-r--r-- | abs/extra/apache-ant/apache-ant.csh | 3 | ||||
-rw-r--r-- | abs/extra/apache-ant/apache-ant.sh | 4 |
3 files changed, 57 insertions, 39 deletions
diff --git a/abs/extra/apache-ant/PKGBUILD b/abs/extra/apache-ant/PKGBUILD index eaafed4..d8982e8 100644 --- a/abs/extra/apache-ant/PKGBUILD +++ b/abs/extra/apache-ant/PKGBUILD @@ -1,53 +1,74 @@ -# $Id$ +# $Id: PKGBUILD 160040 2012-05-28 13:39:12Z guillaume $ +# Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Andrew Wright <andreww@photism.org> -# Maintainer: Paul Mattal <paul@archlinux.org> - +# Contributor: Paul Mattal <paul@archlinux.org> pkgname=apache-ant -pkgver=1.8.2 -pkgrel=2 +pkgver=1.8.4 +pkgrel=1 pkgdesc="A java-based build tool" arch=('any') -license=('APACHE') url="http://ant.apache.org/" +license=('APACHE') depends=('java-environment') +makedepends=('java-environment' 'xalan-java' 'junit' 'apache-ant') optdepends=('junit: to jave junit on the classpath in javac tasks') -source=(http://archive.apache.org/dist/ant/binaries/${pkgname}-${pkgver}-bin.tar.bz2 - ${pkgname}.sh ${pkgname}.csh - ant_diagnostics.patch) -md5sums=('9e9ae9fc7352960191489a1286fb0928' - '593ee6ebd9b8ec321534a028e686880f' - '475b684eb8202c09cbb51496cd8ee1e0' - 'cbaab423be40a6e63f0fde901b91eb50') +#http://apache.org/dist/ant/source/${pkgname}-${pkgver}-src.tar.bz2 +source=(http://apache.org/dist/ant/binaries/${pkgname}-${pkgver}-bin.tar.bz2 + ${pkgname}.sh + ${pkgname}.csh) +md5sums=('561838e665e5dc185dde9d220fce1336' + 'dbfa1e8dd4bab2f5821f5abe50835c83' + 'b3f67824043b6fb00667bb7a4007af42') -package() { - # install profile.d script - install -dm755 "${pkgdir}"/etc/profile.d - install -m755 "${srcdir}"/${pkgname}.{csh,sh} "${pkgdir}"/etc/profile.d/ +_ant_home=/usr/share/${pkgname} + +#build() { +# cd "${srcdir}/${pkgname}-${pkgver}" + +# ant -Ddest=optional -f fetch.xml - # Get the ANT_HOME env var - source "${srcdir}"/${pkgname}.sh +# ln -s /usr/share/java/junit.jar lib/optional/junit.jar +# ./bootstrap.sh - cd "${srcdir}"/${pkgname}-${pkgver} - install -dm755 "${pkgdir}"/${ANT_HOME}/{bin,lib} +# mkdir ${srcdir}/.m2 +# ./bootstrap/bin/ant -Ddest=optional -Ddest.dir=${srcdir}/.m2 -f fetch.xml +# ./bootstrap/bin/ant -f fetch.xml -nouserlib -Ddest=optional - install -m644 ./lib/*.jar "${pkgdir}"/${ANT_HOME}/lib - cp -Rp ./etc "${pkgdir}"/${ANT_HOME} +# sh build.sh dist - # Do not copy Windows .bat/.cmd files +# ant dist +#} + +package() { +# cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" + + install -dm755 ${pkgdir}/${_ant_home}/bin + cp -Rp etc ${pkgdir}/${_ant_home} find ./bin -type f -a ! -name \*.bat -a ! -name \*.cmd \ - -exec install -m755 {} "${pkgdir}"/${ANT_HOME}/bin \; + -exec install -m755 {} ${pkgdir}/${_ant_home}/bin \; + + install -dm755 ${pkgdir}/usr/bin + ln -s ${_ant_home}/bin/ant ${pkgdir}/usr/bin/ant - # symlink to junit so it's on the javac build path for ant - # matches behavior on ubuntu 9 and makes sense for compatibility + install -dm755 ${pkgdir}/usr/share/java/${pkgname} + install -m644 lib/*.jar ${pkgdir}/usr/share/java/${pkgname} + ln -s /usr/share/java/${pkgname} ${pkgdir}/${_ant_home}/lib + + # Symlink to junit so it's on the javac build path # http://bugs.archlinux.org/task/15229 - ln -sf /usr/share/java/junit.jar "${pkgdir}"/usr/share/java/apache-ant/lib/ + # http://ant.apache.org/manual/install.html#optionalTasks + ln -sf ../junit.jar ${pkgdir}/usr/share/java/apache-ant/ # fix python2 path - sed -i 's|/usr/bin/python|/usr/bin/python2|' "${pkgdir}"/usr/share/java/apache-ant/bin/runant.py + sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgdir}${_ant_home}/bin/runant.py + + # install profile.d script + install -dm755 ${pkgdir}/etc/profile.d + install -m755 "${srcdir}"/${pkgname}.{csh,sh} ${pkgdir}/etc/profile.d/ - # The license says the NOTICE file should be redistributed for derivative - # works, so lets supply it. - cd "${srcdir}"/${pkgname}-${pkgver} - install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname} - install -m644 LICENSE NOTICE "${pkgdir}"/usr/share/licenses/${pkgname} + # License says NOTICE file should be redistributed for derivative works + cd ${srcdir}/${pkgname}-${pkgver} + install -dm755 ${pkgdir}/usr/share/licenses/${pkgname} + install -m644 LICENSE NOTICE ${pkgdir}/usr/share/licenses/${pkgname} } diff --git a/abs/extra/apache-ant/apache-ant.csh b/abs/extra/apache-ant/apache-ant.csh index b6a6d58..a19392b 100644 --- a/abs/extra/apache-ant/apache-ant.csh +++ b/abs/extra/apache-ant/apache-ant.csh @@ -1,2 +1 @@ -setenv ANT_HOME /usr/share/java/apache-ant -setenv PATH ${PATH}:${ANT_HOME}/bin +setenv ANT_HOME /usr/share/apache-ant diff --git a/abs/extra/apache-ant/apache-ant.sh b/abs/extra/apache-ant/apache-ant.sh index ab602fb..eaa8a54 100644 --- a/abs/extra/apache-ant/apache-ant.sh +++ b/abs/extra/apache-ant/apache-ant.sh @@ -1,3 +1 @@ -export ANT_HOME=/usr/share/java/apache-ant -export PATH=$PATH:$ANT_HOME/bin - +export ANT_HOME=/usr/share/apache-ant |