root/pbibuild/modules/gkrellm/build.sh

Revision 1248, 0.9 kB (checked in by kris, 7 months ago)

Added gkrellm2 to our module list

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# PBI building script
3# This will run after your port build is complete
4# Build your PBI here, and exit 0 on success, or exit 1 on failure.
5##############################################################################
6# Available Variables
7#    PBIDIR = The location of where you can populate your PBI directory
8# MODULEDIR = The location of the module directory for this PBI
9#   PORTVER = Version number of the port we used to build
10##############################################################################
11
12# Get all the various language files and copy them to the PBI
13LANGFILE="gkrellm.mo"
14mkdir ${PBIDIR}/locale/
15cd /usr/local/share/locale
16for i in `ls`
17do
18  if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ]
19  then
20    mkdir ${PBIDIR}/locale/${i}
21    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/
22  fi
23done
Note: See TracBrowser for help on using the browser.