summaryrefslogtreecommitdiff
path: root/mozilla-testing/icecat-i18n/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-testing/icecat-i18n/Makefile')
-rw-r--r--mozilla-testing/icecat-i18n/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/mozilla-testing/icecat-i18n/Makefile b/mozilla-testing/icecat-i18n/Makefile
deleted file mode 100644
index 237edb616..000000000
--- a/mozilla-testing/icecat-i18n/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/make -f
-# Use this script to update the PKGBUILD's list of langpacks.
-# This script depends on:
-# - coreutils
-# - grep
-# - pacman
-# - sed
-# - wget
-
-# Variables:
-_pkgver=9.0
-pkgver=9.0.1
-pkgrel=2
-
-# Guts: ##############################################################
-
-default: PHONY all
-all: PHONY PKGBUILD
-
-index.html: Makefile
- rm -f $@
- wget http://gnuzilla.gnu.org/download/langpacks/${pkgver}/
-langpacks.txt: index.html Makefile
- egrep -o '[^>".]+\.xpi' $< | sort -u | sed 's/\.xpi//' > $@
-PKGBUILD: PKGBUILD.in langpacks.txt Makefile
- sed \
- -e 's/@_PKGVER@/$(_pkgver)/' \
- -e 's/@PKGVER@/$(pkgver)/' \
- -e 's/@PKGREL@/$(pkgrel)/' \
- -e "s/@LANGPACKS@/(`xargs echo < langpacks.txt`)/" \
- -e '/md5sums/,$$d' \
- PKGBUILD.in > $@
- makepkg -dg >> $@
-
-clean: PHONY
- rm -f index.html langpacks.txt *.xpi
-
-.PHONY: PHONY FORCE