Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ABUILD created by/создан: agr3ss0r, agr3ss0r86 at gmail.com
- pkgname=psi
- svnver=`svn info http://psi-dev.googlecode.com/svn/trunk | grep "Revision:" | cut -f2 -d ' '`
- pkgver=0.15.$svnver
- pkgbuild=1
- arch=('auto')
- shortdesc=("Psi+ - an modified version of Psi jabber client")
- longdesc=("Psi+ - an modified version of Psi jabber client")
- source=("")
- patch_opts=("")
- tags="xapps net-im"
- # Plugins list. Includes certain plugins
- # * - include all plugins
- # Available plugins: http://psi-dev.googlecode.com/svn/trunk/plugins/generic
- # Example: plugins_list="image translate"
- # includes only imageplugin and translateplugin to package
- plugins_list="*"
- # Use WebKit (http://psi-plus.com/wiki/doku.php/webkit)
- # values: (0|1)
- usewebkit=1
- build() {
- sleep 0;pkgrel=1
- mkdir $srcdir && cd $srcdir
- PSI_DIR=$srcdir
- SYSLIBDIRNAME="lib"
- ICONSETS="system clients activities moods affiliations roster"
- WORK_OFFLINE=0
- PATCH_LOG="${PSI_DIR}/psipatch.log"
- SKIP_INVALID_PATCH=1
- CONF_OPTS=""
- [ $usewebkit -eq "1" ] && CONF_OPTS="${CONF_OPTS} --enable-webkit"
- INSTALL_ROOT=$pkgdir
- PLUGINS=$plugins_list
- TRANSLATIONS="ru"
- # checkout libpsibuild
- die() { error "$@"; exit 1; }
- if [ ! -f ./libpsibuild.sh -o "$WORK_OFFLINE" = 0 ]; then
- [ -f libpsibuild.sh ] && { rm libpsibuild.sh || die "Delete error"; }
- wget --no-check-certificate "https://raw.github.com/psi-plus/maintenance/master/scripts/posix/libpsibuild.sh" || die "Failed to update libpsibuild";
- fi
- . ./libpsibuild.sh
- #############
- # Go Go Go! #
- #############
- check_env $CONF_OPTS || true
- prepare_workspace || true
- fetch_all || true
- prepare_all || true
- revision=$rev
- sleep 0;pkgver="$pkgver.$revision"
- compile_all || true
- install_all || true
- }
- after_build() {
- set -e
- set +e
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement