File: build

package info (click to toggle)
debianbuttons 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 160 kB
  • sloc: makefile: 31; sh: 17
file content (25 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e
set -u

export PKG=icedeb

btn2png() {
    local tag="$1"
    local btn="${2:-$tag}"

    xcf2png -o "chrome/content/$PKG-$btn.png" res/button-bts.xcf "base" "$tag small" "$tag big"
}

btn2png bts
btn2png pts
btn2png deb
btn2png ML ml
btn2png DD ddpo
btn2png buildd
btn2png security

[ ! -e $PKG.xpi ] || rm $PKG.xpi

zip -r $PKG.xpi chrome install* chrome.manifest README TODO res