diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-30 03:52:21 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-30 03:52:21 +0000 |
commit | 5077e205a00f5babff7ecf515d82b1a0bac4379e (patch) | |
tree | 14b2b4d631de8f337773078828cc31fb517c2702 /libre | |
parent | 59b98e5d487a93e706f9a34568b6dc1bd317e89e (diff) |
Sun Mar 30 03:44:10 UTC 2014
Diffstat (limited to 'libre')
-rw-r--r-- | libre/icecat-adblock-plus/PKGBUILD | 34 | ||||
-rw-r--r-- | libre/iceweasel-adblock-plus/PKGBUILD | 34 | ||||
-rw-r--r-- | libre/ponysay-libre/PKGBUILD | 49 |
3 files changed, 0 insertions, 117 deletions
diff --git a/libre/icecat-adblock-plus/PKGBUILD b/libre/icecat-adblock-plus/PKGBUILD deleted file mode 100644 index 412535caf..000000000 --- a/libre/icecat-adblock-plus/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: PKGBUILD 106267 2014-02-26 10:45:17Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -pkgname=icecat-adblock-plus -pkgver=2.5.1 -_addons_file=244872 -pkgrel=1 -pkgdesc="plugin for icecat which block ads and banners" -arch=('any') -url="http://adblockplus.org/" -license=('GPL') -depends=("icecat") -makedepends=('unzip') -provides=(firefox-adblock-plus=$pkgver) -noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi") -source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi) -md5sums=('7e1c072961be0d108c81ab91bd89d687') - -package() { -# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.` -# depends=("icecat>=${_ffver}" "icecat<=${_ffver/0/99}") - - cd $srcdir - [ $NOEXTRACT -eq 1 ] || unzip adblock_plus-$pkgver-fx+tb+fn+sm.xpi - local emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q' install.rdf) - local dstdir=$pkgdir/usr/lib/icecat/browser/extensions/${emid} - [ -n ${emid} ] || return 1 - install -d $dstdir -# sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>20.*</em:maxVersion>#' install.rdf - cp -R * $dstdir - rm $dstdir/*.xpi - find $pkgdir -type d -exec chmod 0755 {} \; - find $pkgdir -type f -exec chmod 0644 {} \; -} diff --git a/libre/iceweasel-adblock-plus/PKGBUILD b/libre/iceweasel-adblock-plus/PKGBUILD deleted file mode 100644 index 5d30cd52c..000000000 --- a/libre/iceweasel-adblock-plus/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: PKGBUILD 106267 2014-02-26 10:45:17Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -pkgname=iceweasel-adblock-plus -pkgver=2.5.1 -_addons_file=244872 -pkgrel=1 -pkgdesc="plugin for iceweasel which block ads and banners" -arch=('any') -url="http://adblockplus.org/" -license=('GPL') -depends=("iceweasel-libre") -makedepends=('unzip') -provides=(firefox-adblock-plus=$pkgver) -noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi") -source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi) -md5sums=('7e1c072961be0d108c81ab91bd89d687') - -package() { -# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.` -# depends=("iceweasel-libre>=${_ffver}" "iceweasel-libre<=${_ffver/0/99}") - - cd $srcdir - [ $NOEXTRACT -eq 1 ] || unzip adblock_plus-$pkgver-fx+tb+fn+sm.xpi - local emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q' install.rdf) - local dstdir=$pkgdir/usr/lib/iceweasel/browser/extensions/${emid} - [ -n ${emid} ] || return 1 - install -d $dstdir -# sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>20.*</em:maxVersion>#' install.rdf - cp -R * $dstdir - rm $dstdir/*.xpi - find $pkgdir -type d -exec chmod 0755 {} \; - find $pkgdir -type f -exec chmod 0644 {} \; -} diff --git a/libre/ponysay-libre/PKGBUILD b/libre/ponysay-libre/PKGBUILD deleted file mode 100644 index 703a562d6..000000000 --- a/libre/ponysay-libre/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Erkin Batu Altunbaş <erkinbatu@gmail.com> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Contributor (Parabola): Márcio Silva <coadde@parabola.nu> - -_pkgname=ponysay -pkgname=ponysay-libre -pkgver=3.0.1 -pkgrel=1 -pkgdesc="cowsay reimplemention for ponies, without nonfree pony graphics" -url="http://erkin.github.com/ponysay/" -arch=('any') -license=('GPL3') -replaces=$_pkgname -conflicts=$_pkgname -provides=$_pkgname=$pkgver -depends=('python' 'bash') -makedepends=('git') -mksource=("ponysay-$pkgver.tar.gz::https://github.com/erkin/ponysay/tarball/$pkgver") -source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz") -mkmd5sums=('3fac23eb1a3a9d0640ecebd1919b4390') -md5sums=('21451fee1a773eb76572cc1cafad8422') - -mksource() { - cd "$srcdir/erkin-ponysay-"* - - # Generate a nonfree pony graphics list to replace it with empty files - # NOTE: empty files are necessary for the building checking only, --freedom=strict will not include them for the packaging - grep -rIl 'FREE: sharable' | cat > nonfree-pony-graphics-list.txt - grep -rIl 'FREE: no' | cat >> nonfree-pony-graphics-list.txt - - # Remove nonfree pony graphics - rm -v $(grep -rIl 'FREE: sharable') - rm -v $(grep -rIl 'FREE: no') - - # Generate empty files - for x in $(cat nonfree-pony-graphics-list.txt); do - touch $x - done - - # Remove list - rm -v nonfree-pony-graphics-list.txt -} - -package() { - cd "$srcdir/erkin-ponysay-"* - - python3 setup.py --prefix=/usr --dest-dir=$pkgdir --freedom=strict --everything --with-pdf=/usr/share/doc/ponysay --without-pdf-compression install -} |