summaryrefslogtreecommitdiff
path: root/libre/iceape-l10n
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-15 20:47:44 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-15 20:47:44 -0200
commit262e68aa539dea0e7c6bbea2a4785e66b9e72a2d (patch)
tree44d9610e38f85d5d78be221164e06ec146e56cfe /libre/iceape-l10n
parent2c6980d8d7c817527fbbec89183d384ce0a76e9d (diff)
downloadabslibre-262e68aa539dea0e7c6bbea2a4785e66b9e72a2d.tar.gz
abslibre-262e68aa539dea0e7c6bbea2a4785e66b9e72a2d.tar.bz2
abslibre-262e68aa539dea0e7c6bbea2a4785e66b9e72a2d.zip
iceape-l10n-2.7.11-1: removing unnecessary files
Diffstat (limited to 'libre/iceape-l10n')
-rw-r--r--libre/iceape-l10n/Makefile59
-rw-r--r--libre/iceape-l10n/PKGBUILD.in64
2 files changed, 0 insertions, 123 deletions
diff --git a/libre/iceape-l10n/Makefile b/libre/iceape-l10n/Makefile
deleted file mode 100644
index 89aaccfdc..000000000
--- a/libre/iceape-l10n/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/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=iceape-l10n
-debver=2.7.4+debian
-debrel=2
-debrepo=http://ftp.debian.org/debian/pool/main/
-
-pkgver=2.7.4
-pkgrel=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
diff --git a/libre/iceape-l10n/PKGBUILD.in b/libre/iceape-l10n/PKGBUILD.in
deleted file mode 100644
index 6891b2672..000000000
--- a/libre/iceape-l10n/PKGBUILD.in
+++ /dev/null
@@ -1,64 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Contributor: fauno <fauno@kiwwwi.com.ar>
-# Contributor: Figue <ffigue@gmail.com>
-# Contributor: André Silva <andre.paulista@adinet.com.uy>
-# Based on icecat-i18n package, which is in turn based on firefox-i18n
-
-# When updating to a newer upstream release:
-# - Edit variables in in Makefile.
-# - (optionally) edit PKGBUILD.in
-# - Run 'make'. It will take care of everything else for you.
-
-_debname=@DEBNAME@
-_debver=@DEBVER@
-_debrel=@DEBREL@
-_debrepo=@DEBREPO@
-debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
-
-_langpacks=@LANGPACKS@
-
-pkgbase=iceape-i18n
-pkgname=($(for lang in ${_langpacks[@]}
- do echo $pkgbase-$lang | tr A-Z a-z
- done))
-_pkgver=@PKGVER@
-pkgver=${_debver}.${_debrel}
-pkgrel=@PKGREL@
-
-pkgdesc="Language packs for Debian Iceape."
-arch=('any')
-url="http://packages.debian.org/source/sid/iceape"
-license=('MPL')
-depends=("iceape=$_pkgver")
-source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.gz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.diff.gz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.dsc")
-noextract=($(for lang in ${_langpacks[@]}
- do echo $lang.xpi
- done))
-
-dpkg-source() {
- # This will simulate dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
- cd "${_debname}-${_debver}"
- patch -p1 -i "${srcdir}/${_debname}_${_debver}-${_debrel}.diff"
- cd ..
-}
-
-build() {
- cd "${srcdir}"
- dpkg-source -x ${_debname}_${_debver}-${_debrel}.dsc
-}
-
-_path="/usr/lib/iceape-${_pkgver}/extensions"
-
-# CUT HERE <-- Separates package_*() functions from everything else.
-
-for lang in ${_langpacks[@]}
-do
- eval "
-package_iceape-i18n-$(echo $lang | tr A-Z a-z) () {
- install -Dm644 '$srcdir/'*'/upstream/$lang.xpi' \"\$pkgdir\"'$_path/langpack-$lang@firefox.mozilla.org.xpi'
-}
-"
-done
-