diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-13 21:51:57 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-01-13 21:51:57 -0200 |
commit | f4444da8f7943507e90c4b169205809221f2744e (patch) | |
tree | 1d17cd08ca1115fd6f6a0b6c52144f8d2fc09677 /libre/iceweasel-i18n/Makefile | |
parent | 8968b5bdb015c3eb0b69035c6912319b008319e6 (diff) | |
download | abslibre-f4444da8f7943507e90c4b169205809221f2744e.tar.gz abslibre-f4444da8f7943507e90c4b169205809221f2744e.tar.bz2 abslibre-f4444da8f7943507e90c4b169205809221f2744e.zip |
ice{cat,weasel}: revert to back pkg stables and mv lukeshu pkgs to libre-testing
Diffstat (limited to 'libre/iceweasel-i18n/Makefile')
-rw-r--r-- | libre/iceweasel-i18n/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libre/iceweasel-i18n/Makefile b/libre/iceweasel-i18n/Makefile new file mode 100644 index 000000000..d596111f3 --- /dev/null +++ b/libre/iceweasel-i18n/Makefile @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# Use this script to update the PKGBUILD's list of langpacks. +# This script depends on: +# - coreutils +# - pacman +# - sed + +# Variables: +# This is to get it from Debian Sid +debname=iceweasel-l10n +debver=9.0+debian +debrel=1 +debrepo=http://ftp.debian.org/debian/pool/main/ + +pkgver=9.0 +pkgrel=2.1 + +# Guts: ############################################################## + +default: PHONY all +all: PHONY + $(MAKE) clean + $(MAKE) PKGBUILD +.PRECIOUS: PKGBUILD + +PKGBUILD.list: Makefile + sed \ + -e 's/@DEBNAME@/$(debname)/' \ + -e 's/@DEBVER@/$(debver)/' \ + -e 's/@DEBREL@/$(debrel)/' \ + -e 's%@DEBREPO@%$(debrepo)%' \ + -e 's/@PKGVER@/$(pkgver)/' \ + -e 's/@PKGREL@/$(pkgrel)/' \ + -e "s/@LANGPACKS@/(phony)/" \ + -e '/CUT HERE/,$$d' \ + PKGBUILD.in > $@ + echo 'package() { exit 0; }' >> $@ + makepkg -gp $@ >> $@ +langpacks.txt: PKGBUILD.list Makefile + makepkg -dp $< + ls src/*/upstream | sed 's/\.xpi//' > $@ +PKGBUILD: PKGBUILD.in langpacks.txt Makefile + sed \ + -e 's/@DEBNAME@/$(debname)/' \ + -e 's/@DEBVER@/$(debver)/' \ + -e 's/@DEBREL@/$(debrel)/' \ + -e 's%@DEBREPO@%$(debrepo)%' \ + -e 's/@PKGVER@/$(pkgver)/' \ + -e 's/@PKGREL@/$(pkgrel)/' \ + -e "s/@LANGPACKS@/(`xargs echo < langpacks.txt`)/" \ + -e '/CUT HERE/d' \ + -e '/md5sums/,$$d' \ + PKGBUILD.in > $@ + makepkg -dg >> $@ + +clean: PHONY + rm -f PKGBUILD.list langpacks.txt + +.PHONY: PHONY FORCE |