diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-04-22 12:32:21 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-04-22 12:32:21 +0200 |
commit | a019d9889a5b3803d57833c4b4502533f029c98b (patch) | |
tree | a928035510b10f044f532fe1a6f46a22137809ad /~emulatorman/jitsi/PKGBUILD | |
parent | 53f7b4b48972c757f0e68d4b02847a19e23d7232 (diff) | |
parent | af1e6c210b43ea6b8e043524edccb1d0befd257f (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/portaudio_cpp/PKGBUILD
extra/cmake/PKGBUILD
extra/xfce4-clipman-plugin/PKGBUILD
extra/xfce4-time-out-plugin/PKGBUILD
multilib/lib32-mpg123/PKGBUILD
multilib/lib32-openssl/PKGBUILD
testing/telepathy-glib/PKGBUILD
Diffstat (limited to '~emulatorman/jitsi/PKGBUILD')
-rw-r--r-- | ~emulatorman/jitsi/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/~emulatorman/jitsi/PKGBUILD b/~emulatorman/jitsi/PKGBUILD new file mode 100644 index 000000000..5d8a2e4cb --- /dev/null +++ b/~emulatorman/jitsi/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be> +# Contributors: Keshav P R, atommix aka Aleks Lifey, Xavion, Ananda Samaddar, Dan Serban +# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy> + +pkgname=jitsi +pkgver=1.0.3967 +pkgrel=1 +pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)" +arch=('i686' 'x86_64') +url="http://jitsi.org" +license=('LGPL') +depends=('java-runtime') +makedepends=('apache-ant' 'java-environment') +options=(!strip !emptydirs zipman !libtool docs) +source=("http://download.jitsi.org/jitsi/src/jitsi-src-1.0-build.${pkgver##*.}.zip" + jitsi.desktop + jitsi.sh) +md5sums=('0fb7aaaad551177c3037ae570ca2f2e1' + 'aad7cf1fb18ff5d7c964834ecc38aed8' + 'c75c74f41e613a7d17bf2f1f310adee3') + +build() +{ + cd ${srcdir}/${pkgname} + # append the build revision to the jitsi version + sed -i "s/0\.build\.by\.SVN/build.${pkgver##*.}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java + . /etc/profile.d/apache-ant.sh + ant rebuild +} + +package() { + cd ${srcdir}/${pkgname} + find lib/ lib/bundle/ -maxdepth 1 -type f \ + -exec install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{} \; + find lib/os-specific/linux/ -maxdepth 1 -type f \ + -execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/lib/"{} \; + shopt -sq extglob + find lib/native/linux$(sed 's/_/-/g' <<<${CARCH/#*(i?86|x86)/})/ -maxdepth 1 -type f \ + -execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/lib/native/"{} \; + find sc-bundles/{,os-specific/linux/} -maxdepth 1 -type f \ + -execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/sc-bundles/"{} \; + install -Dm755 "$srcdir/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "$srcdir/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + local _file + for _file in resources/install/debian/*.{svg,xpm}; do + install -Dm644 "$_file" "${pkgdir}/usr/share/pixmaps/${pkgname}${_file/*sip-communicator/}" + done +} |