diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-27 17:03:21 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-27 17:03:21 -0300 |
commit | 938a52cdfa42435782ed3d213b79fd6ab3860a65 (patch) | |
tree | 3957d23d22edad5c330a30740470d4517aef6d5f /pcr | |
parent | 1e59c4d43628f03381aa28b99bae532dae84c17a (diff) | |
parent | 6d4651ca8163db4015cfa9b8bba063944cdddc44 (diff) | |
download | abslibre-938a52cdfa42435782ed3d213b79fd6ab3860a65.tar.gz abslibre-938a52cdfa42435782ed3d213b79fd6ab3860a65.tar.bz2 abslibre-938a52cdfa42435782ed3d213b79fd6ab3860a65.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/babeld/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/python2-postfix-policyd-spf/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/python2-pydns/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/python2-pyspf/PKGBUILD | 35 | ||||
-rw-r--r-- | pcr/ttf-beteckna/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/ttf-beteckna/ttf.install | 15 |
6 files changed, 127 insertions, 2 deletions
diff --git a/pcr/babeld/PKGBUILD b/pcr/babeld/PKGBUILD index e1e3eb0c4..20d442fd6 100644 --- a/pcr/babeld/PKGBUILD +++ b/pcr/babeld/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer (AUR): Yann Lopez <arch at lonewulf dot net> # Maintainer (Parabola): fauno <fauno@parabola.nu> pkgname=babeld -pkgver=1.4.0 +pkgver=1.4.1 pkgrel=1 pkgdesc="Loop-free distance-vector routing protocol" arch=(i686 x86_64 mips64el) @@ -28,5 +28,5 @@ package() { install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE } -md5sums=('4ad44bca59f594a629306ac5c9b89d57' +md5sums=('406bbd940e3a9019d832d20e277266f2' 'SKIP') diff --git a/pcr/python2-postfix-policyd-spf/PKGBUILD b/pcr/python2-postfix-policyd-spf/PKGBUILD new file mode 100644 index 000000000..f5b96f752 --- /dev/null +++ b/pcr/python2-postfix-policyd-spf/PKGBUILD @@ -0,0 +1,28 @@ +# From https://aur.archlinux.org/packages.php?ID=42275 +# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com> +# Contributor: Samed Beyribey <ras0ir@eventualis.org> +pkgname=python2-postfix-policyd-spf +_pkgname=pypolicyd-spf +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Python2 Postfix Sender Policy Framework (SPF) filter" +arch=('any') +url="http://www.openspf.org/Software" +license=('GPL') +depends=('postfix' 'python2-pyspf' 'python2') +conflicts=('python-postfix-policyd-spf') +options=(!emptydirs) +backup=(etc/python-policyd-spf/policyd-spf.conf) +source=(http://launchpad.net/pypolicyd-spf/1.1/$pkgver/+download/$_pkgname-$pkgver.tar.gz) +sha256sums=('f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root=$pkgdir/ --optimize=1 + install -m644 policyd-spf.conf.commented $pkgdir/etc/python-policyd-spf +} diff --git a/pcr/python2-pydns/PKGBUILD b/pcr/python2-pydns/PKGBUILD new file mode 100644 index 000000000..cf5f4b388 --- /dev/null +++ b/pcr/python2-pydns/PKGBUILD @@ -0,0 +1,25 @@ +# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> +# From https://aur.archlinux.org/packages.php?ID=42273 +# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com> +# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org> +pkgname=python2-pydns +_pkgname=pydns +pkgver=2.3.6 +pkgrel=1 +pkgdesc="Python2 module for performing DNS queries" +arch=('any') +url="http://pydns.sourceforge.net" +license=('custom') +depends=('python2') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz) +md5sums=('d12ca75251854ab6fcabbaff6909b690') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py build || return 1 + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname" +} diff --git a/pcr/python2-pyspf/PKGBUILD b/pcr/python2-pyspf/PKGBUILD new file mode 100644 index 000000000..abb3bfa5f --- /dev/null +++ b/pcr/python2-pyspf/PKGBUILD @@ -0,0 +1,35 @@ +# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> +# From https://aur.archlinux.org/packages.php?ID=42274 +# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com> +# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org> +pkgname=python2-pyspf +_pkgname=pyspf +pkgver=2.0.7 +pkgrel=1 +pkgdesc="Python2 implementation of the Sender Policy Framework (SPF) protocol" +arch=('any') +url="http://pypi.python.org/pypi/pyspf" +license=('PSF') +depends=('python2-pydns' 'python2') +checkdepends=('python2-yaml') +conflicts=('python-pyspf') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/pymilter/$_pkgname-$pkgver.tar.gz) +md5sums=('df47e2c04054a89da8b46b7f67e704ae') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + python2 setup.py build || return 1 + python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1 + + # See http://allanmcrae.com/2010/10/big-python-transition-in-arch-linux/ + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find $pkgdir -name '*.py') || return 1 +} + +check() { + cd "$srcdir/$_pkgname-$pkgver/test" + PYTHONPATH="$srcdir/$_pkgname-$pkgver:$PYTHONPATH" python2 testspf.py +} diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD new file mode 100644 index 000000000..3bbe41397 --- /dev/null +++ b/pcr/ttf-beteckna/PKGBUILD @@ -0,0 +1,22 @@ +# From https://aur.archlinux.org/packages.php?ID=22483 +# Maintainer: TDY <tdy@gmx.com> + +pkgname=ttf-beteckna +pkgver=0.4 +pkgrel=1.1 +pkgdesc="A geometric sans serif typeface inspired by the popular Futura" +arch=('any') +url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/" +license=('GPL') +depends=('fontconfig' 'xorg-font-utils') +makedepends=('fontforge') +install=ttf.install +source=(http://gnu.ethz.ch/linuks.mine.nu/${pkgname/*-}/${pkgname/*-}-$pkgver.tar.gz) +md5sums=('01c12138e0f689f4acdacb105f4350a7') + +build() { + cd "$srcdir/${pkgname/*-}-$pkgver" + install -dm755 "$pkgdir/usr/share/fonts/TTF" + fontforge -script sfd2ttf.ff *.sfd &> /dev/null || return 1 + install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF" +} diff --git a/pcr/ttf-beteckna/ttf.install b/pcr/ttf-beteckna/ttf.install new file mode 100644 index 000000000..33b7d6549 --- /dev/null +++ b/pcr/ttf-beteckna/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "==> Rebuilding font cache... " + fc-cache -f &> /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |