From c35868d09ecbb0df594d8b3f1f452512e404d59b Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 31 May 2014 00:51:51 -0300 Subject: rebuild openshadinglanguage --- libre/openshadinglanguage/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/openshadinglanguage/PKGBUILD b/libre/openshadinglanguage/PKGBUILD index 1ba120173..2ef3fa52b 100644 --- a/libre/openshadinglanguage/PKGBUILD +++ b/libre/openshadinglanguage/PKGBUILD @@ -3,7 +3,7 @@ pkgname=openshadinglanguage pkgver=1.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Advanced shading language for production GI renderers (built for the blender-libre package)" arch=( mips64el -- cgit v1.2.3-54-g00ecf From c31e1121bfc2671b34726cdee0c8bb1adf27b90d Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 09:06:56 +0200 Subject: python2-django-extensions --- pcr/python2-django-extensions/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pcr/python2-django-extensions/PKGBUILD diff --git a/pcr/python2-django-extensions/PKGBUILD b/pcr/python2-django-extensions/PKGBUILD new file mode 100644 index 000000000..16f2d542a --- /dev/null +++ b/pcr/python2-django-extensions/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer : Parabola Aurélien DESBRIÈRES +# Contributor: Jeremy "Ichimonji10" Audet +# Contributor: Dominik Kozaczko +# Contributor: Alper Kanat +# Contributor: Apkawa +# Contributor: Schnouki +# +# namcap warns that python2-django and python2-six are unnecessary dependencies. +# This is untrue. +# +# This package was formerly named `django-extensions`. As a result, this package +# must provide and conflict with that package. + +pkgname=python2-django-extensions +_pkgname=django-extensions +pkgver=1.3.7 +pkgrel=1 +pkgdesc='A collection of custom extensions for the Django Framework.' +arch=(any) +url='http://github.com/django-extensions/django-extensions' +license=(MIT) +depends=(python2-django python2-six) +makedepends=(python2-setuptools) +optdepends=( + 'graphviz: to graph Django models' + 'python2-werkzeug: to use the Werkzeug debugger in the embedded web server' +) +provides=(django-extensions) +conflicts=(django-extensions) +options=(!emptydirs) +source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz") + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf From b447917747fc5c6f8c9c0588a26e91f582b7cd6d Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 09:17:35 +0200 Subject: dratmenu --- pcr/dratmenu/PKGBUILD | 57 +++++++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/pcr/dratmenu/PKGBUILD b/pcr/dratmenu/PKGBUILD index d1bace462..aef16cdf4 100644 --- a/pcr/dratmenu/PKGBUILD +++ b/pcr/dratmenu/PKGBUILD @@ -1,36 +1,43 @@ -# Contributor (Arch): ivoarch -# Maintainer : Parabola Aurélien DESBRIÈRES +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer : Parabola Aurélien DESBRIÈRES +# Contributor: ivoarch pkgname=dratmenu -pkgver=20121218 -pkgrel=1 -pkgdesc="ratpoison window dmenu" -arch=('any') -url="https://github.com/dimatura/dratmenu.git" +pkgver=d299ddf +pkgrel=2 +epoch= +pkgdesc="A trivial python hack to select windows in Ratpoison with dmenu." +arch=('i686' 'x86_64') +url="https://github.com/dimatura/dratmenu" license=('GPL') +groups=() depends=('dmenu' 'python2') makedepends=('git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://github.com/dimatura/dratmenu.git") +noextract=() +md5sums=('SKIP') -_gitroot="https://github.com/dimatura/dratmenu.git" -_gitname="master" - -build() { - cd $srcdir - - if [ -d $srcdir/$pkgname ] ; then - msg "update git" - cd $pkgname && git pull origin - else - msg "clone git" - git clone $_gitroot - fi +pkgver() { + cd $srcdir/$pkgname + git describe --always | sed 's|-|.|g' } package() { - mkdir -p $pkgdir/usr/lib/python2.7/site-packages - cp -r $srcdir/$pkgname $pkgdir/usr/lib/python2.7/site-packages - mkdir -p $pkgdir/usr/bin - echo "#!/bin/bash + mkdir -p $pkgdir/usr/lib/python2.7/site-packages + cp -r $srcdir/$pkgname $pkgdir/usr/lib/python2.7/site-packages + mkdir -p $pkgdir/usr/bin + echo "#!/bin/bash python2 /usr/lib/python2.7/site-packages/$pkgname/dratmenu.py" > $pkgdir/usr/bin/dratmenu - chmod +x $pkgdir/usr/bin/dratmenu + chmod +x $pkgdir/usr/bin/$pkgname } + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf From c463957e6ad01abc476ec4adc3b49baf6ec4f0f1 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 10:31:25 +0200 Subject: emacs-jabber --- pcr/emacs-jabber/PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pcr/emacs-jabber/PKGBUILD b/pcr/emacs-jabber/PKGBUILD index 331029cdf..522cb7cc5 100644 --- a/pcr/emacs-jabber/PKGBUILD +++ b/pcr/emacs-jabber/PKGBUILD @@ -1,17 +1,16 @@ -# Contributor (Arch): Stefan Husmann -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Maintainer: Parabola Aurélien DESBRIÈRES +# Contributor: Stefan Husmann pkgname=emacs-jabber -pkgver=0.8.91 -pkgrel=2 +pkgver=0.8.92 +pkgrel=1 pkgdesc="Jabber.el: a minimal jabber client for emacs" url=http://emacs-jabber.sourceforge.net arch=('any') license=('GPL') depends=('emacs' 'gnutls' 'gconf') install=jabber.el.install -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.lzma) -md5sums=('739506fbc498386989590cd7733dd47a') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz) build() { cd $srcdir/$pkgname-$pkgver -- cgit v1.2.3-54-g00ecf From 288e6f5f62011e4211f90aa55fb0e9363c8dc92f Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 10:48:13 +0200 Subject: emacs-org-mode --- pcr/emacs-org-mode/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcr/emacs-org-mode/PKGBUILD b/pcr/emacs-org-mode/PKGBUILD index dbff05b6b..9655c924c 100644 --- a/pcr/emacs-org-mode/PKGBUILD +++ b/pcr/emacs-org-mode/PKGBUILD @@ -1,7 +1,7 @@ # Contributor (Arch): Jiyunatori # Contributor (Arch): mdev # adopted by domanov -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=emacs-org-mode _srcname=org @@ -14,7 +14,6 @@ depends=(emacs) license=('GPL') install=emacs-org-mode.install source=(http://orgmode.org/$_srcname-$pkgver.tar.gz) -md5sums=('e79441ff81c176e70230937e09f6042c') build() { cd "${srcdir}/${_srcname}-${pkgver}" @@ -36,4 +35,4 @@ package() { gzip -9 $pkgdir/usr/share/info/orgmode || return 1 rm $pkgdir/usr/share/info/org || return 1 } -md5sums=('e79441ff81c176e70230937e09f6042c') + -- cgit v1.2.3-54-g00ecf From 4c1190c3f96e26f5a1330276f8e9203c8bd4b208 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 10:54:27 +0200 Subject: emacs-org-mode --- pcr/emacs-org-mode/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcr/emacs-org-mode/PKGBUILD b/pcr/emacs-org-mode/PKGBUILD index 9655c924c..ba0028fa4 100644 --- a/pcr/emacs-org-mode/PKGBUILD +++ b/pcr/emacs-org-mode/PKGBUILD @@ -5,7 +5,7 @@ pkgname=emacs-org-mode _srcname=org -pkgver=7.9.2 +pkgver=8.2.6 pkgrel=1 pkgdesc="Emacs Org Mode" arch=('any') -- cgit v1.2.3-54-g00ecf From 36898d658161b166a0bd89a1cd0c6d552bd135f3 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 16:56:30 +0200 Subject: freeipmi --- pcr/freeipmi/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD index cc1159917..5b8fac7ba 100644 --- a/pcr/freeipmi/PKGBUILD +++ b/pcr/freeipmi/PKGBUILD @@ -1,10 +1,10 @@ +# Contributor: Phillip Smith # http://github.com/fukawi2/aur-packages -# Contributor (Arch): Nathan Owe -# Contributor (Arch): Phillip Smith -# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières +# Contributor: Nathan Owe +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=freeipmi -pkgver=1.2.3 +pkgver=1.4.1 pkgrel=1 pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" arch=('i686' 'x86_64') @@ -19,6 +19,7 @@ build() { ./configure \ --prefix=/usr \ + --sbindir=/usr/bin \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --localstatedir=/var/lib \ -- cgit v1.2.3-54-g00ecf From c74b6e3b75c9a3fcec04b08946aed43d624a9fa0 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 17:01:52 +0200 Subject: fwsnort --- pcr/fwsnort/PKGBUILD | 54 +++++++++---------- pcr/fwsnort/install_pl.patch | 121 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 137 insertions(+), 38 deletions(-) diff --git a/pcr/fwsnort/PKGBUILD b/pcr/fwsnort/PKGBUILD index 0f470ca37..b4983658d 100644 --- a/pcr/fwsnort/PKGBUILD +++ b/pcr/fwsnort/PKGBUILD @@ -1,44 +1,44 @@ -# Contributor (Arch): Colin Shea -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Colin Shea +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=fwsnort -pkgver=1.6.2 -pkgrel=1 +pkgver=1.6.3 +pkgrel=3 pkgdesc="application layer IDS/IPS by translating snort rules into iptables" arch=('any') url="http://www.cipherdyne.org/fwsnort/" license=('GPL') -depends=('perl' 'perl-net-ipv4addr' 'perl-iptables-parse' 'iptables' 'net-tools') +# net-tools: sorry, but fwsnort needs ifconfig. Doesn't support iproute yet +depends=('perl' 'perl-netaddr-ip' 'perl-iptables-parse' 'iptables' 'net-tools') makedepends=('wget') source=(http://www.cipherdyne.org/$pkgname/download/$pkgname-$pkgver.tar.bz2 'install_pl.patch') +options=(emptydirs) + build() { cd "$srcdir/$pkgname-$pkgver" - mkdir -p $pkgdir/var/log/fwsnort \ - $pkgdir/usr/lib/fwsnort \ - $pkgdir/usr/share/man/man8 \ - $pkgdir/usr/sbin \ - $pkgdir/etc/fwsnort/snort_rules \ - $pkgdir/etc/fwsnort/archive \ - $pkgdir/etc/fwsnort/snort_rules_queue - - patch -p0 -i $srcdir/install_pl.patch - sed -e "/mpath.*man8/s|/usr|$pkgdir&|" \ - -e "/^my\\ \\\$sbin/s|/usr|$pkgdir&|" \ - -i install.pl - - cp fwsnort.conf fwsnort.conf.bak - - sed -e "s|/var/log/fwsnort|$pkgdir&|" \ - -e "s|/usr/lib/fwsnort|$pkgdir&|" \ - -e "s|/etc/fwsnort|$pkgdir&|" \ - ./fwsnort.conf -i + # fix up the installer for our purposes: + # - removes the root check + # - includes sbin as another place to check for binares + # - fixes various paths for utilities & the man page + patch -p1 -i $srcdir/install_pl.patch + # -S skips installing the perl modules, which we did with packages - echo y | ./install.pl -S - mv -f fwsnort.conf.bak $pkgdir/etc/fwsnort/fwsnort.conf - chmod 755 $pkgdir/usr/sbin/fwsnort + # and --install-test-dir sets the INSTALL_ROOT to src/../test/fwsnort-test. An + # easy way to collect all the files into 1 + ./install.pl -S --install-test-dir +} + +package() { + cp -r $srcdir/fwsnort-$pkgver/test/fwsnort-install/* -t $pkgdir + # delete references to $pkgdir from fwsnort; they were made by the installer + # as part of installing to the test dir + cp -f $srcdir/fwsnort-$pkgver/fwsnort.conf $pkgdir/etc/fwsnort/fwsnort.conf + + # avoid a 'warning: directory permissions differ on etc/' line from pacman + chmod 755 $pkgdir/etc } # vim:set ts=2 sw=2 et: diff --git a/pcr/fwsnort/install_pl.patch b/pcr/fwsnort/install_pl.patch index b9cfb4a33..39ffe3e9b 100644 --- a/pcr/fwsnort/install_pl.patch +++ b/pcr/fwsnort/install_pl.patch @@ -1,9 +1,19 @@ ---- install.pl 2011-02-05 05:02:38.845785881 -0700 -+++ install2.pl 2011-02-05 05:03:21.350360881 -0700 -@@ -120,10 +120,6 @@ +diff -u fwsnort-1.6.3-2/install.pl fwsnort-1.6.3/install.pl +--- fwsnort-1.6.3-2/install.pl 2012-12-24 21:31:28.597018440 -0700 ++++ fwsnort-1.6.3/install.pl 2012-12-24 21:40:38.564569377 -0700 +@@ -45,7 +45,7 @@ + my $perlCmd = '/usr/bin/perl'; + my $makeCmd = '/usr/bin/make'; + my $wgetCmd = '/usr/bin/wget'; +-my $gzipCmd = '/bin/gzip'; ++my $gzipCmd = '/usr/bin/gzip'; + my $tarCmd = '/bin/tar'; + #======================= end config ====================== + +@@ -129,10 +129,6 @@ ### make sure the system binaries are where we think they are. &check_commands(); - + -### check to make sure we are running as root -$< == 0 && $> == 0 or die "You need to be root (or equivalent UID 0", - " account) to install/uninstall fwsnort!\n"; @@ -11,17 +21,106 @@ if ($uninstall) { &uninstall(); } else { ---- install.pl 2011-01-02 18:38:51.000000000 -0700 -+++ install2.pl 2011-02-05 04:59:01.653910881 -0700 -@@ -471,8 +471,11 @@ - sub check_commands() { - my @path = qw( +@@ -154,10 +150,10 @@ + "sources directory." unless -e 'fwsnort' and -e 'fwsnort.conf'; + + unless (-d $config{'CONF_DIR'}) { +- &full_mkdir($config{'CONF_DIR'}, 0500); ++ &full_mkdir($config{'CONF_DIR'}, 0700); + } + unless (-d $config{'RULES_DIR'}) { +- &full_mkdir($config{'RULES_DIR'}, 0500); ++ &full_mkdir($config{'RULES_DIR'}, 0700); + } + + ### install perl modules +@@ -336,52 +332,11 @@ + + sub install_manpage() { + my $manpage = 'fwsnort.8'; +- ### remove old man page +- unlink "/usr/local/man/man8/${manpage}" if +- (-e "/usr/local/man/man8/${manpage}"); + + ### default location to put the fwsnort man page, but check with + ### /etc/man.config +- my $mpath = '/usr/share/man/man8'; +- if (-e '/etc/man.config') { +- ### prefer to install $manpage in /usr/local/man/man8 if +- ### this directory is configured in /etc/man.config +- open M, '< /etc/man.config' or +- die "[*] Could not open /etc/man.config: $!"; +- my @lines = ; +- close M; +- ### prefer the path "/usr/share/man" +- my $found = 0; +- for my $line (@lines) { +- chomp $line; +- if ($line =~ m|^MANPATH\s+/usr/share/man|) { +- $found = 1; +- last; +- } +- } +- ### try to find "/usr/local/man" if we didn't find /usr/share/man +- unless ($found) { +- for my $line (@lines) { +- chomp $line; +- if ($line =~ m|^MANPATH\s+/usr/local/man|) { +- $mpath = '/usr/local/man/man8'; +- $found = 1; +- last; +- } +- } +- } +- ### if we still have not found one of the above man paths, +- ### just select the first one out of /etc/man.config +- unless ($found) { +- for my $line (@lines) { +- chomp $line; +- if ($line =~ m|^MANPATH\s+(\S+)|) { +- $mpath = $1; +- last; +- } +- } +- } +- } ++ my $mpath = $config{'INSTALL_ROOT'}.'/usr/share/man/man8'; ++ + &full_mkdir($mpath, 0755); + my $mfile = "${mpath}/${manpage}"; + print "[+] Installing $manpage man page as $mfile\n"; +@@ -532,6 +487,9 @@ /bin -+ /sbin /usr/bin -+ /usr/sbin /usr/local/bin ++ /sbin ++ /usr/sbin + /usr/local/sbin ); CMD: for my $cmd (keys %cmds) { unless (-x $cmds{$cmd}) { +diff -u fwsnort-1.6.3-2/fwsnort.conf fwsnort-1.6.3/fwsnort.conf +--- fwsnort-1.6.3-2/fwsnort.conf 2012-12-24 22:39:21.323178467 -0700 ++++ fwsnort-1.6.3/fwsnort.conf 2012-12-24 22:41:52.172194457 -0700 +@@ -103,14 +103,14 @@ + + ### system binaries + shCmd /bin/sh; +-echoCmd /bin/echo; ++echoCmd /usr/bin/echo; + tarCmd /bin/tar; + wgetCmd /usr/bin/wget; + unameCmd /usr/bin/uname; + ifconfigCmd /sbin/ifconfig; +-iptablesCmd /sbin/iptables; +-iptables-saveCmd /sbin/iptables-save; +-iptables-restoreCmd /sbin/iptables-restore; +-ip6tablesCmd /sbin/ip6tables; +-ip6tables-saveCmd /sbin/ip6tables-save; +-ip6tables-restoreCmd /sbin/ip6tables-restore; ++iptablesCmd /usr/sbin/iptables; ++iptables-saveCmd /usr/sbin/iptables-save; ++iptables-restoreCmd /usr/sbin/iptables-restore; ++ip6tablesCmd /usr/sbin/ip6tables; ++ip6tables-saveCmd /usr/sbin/ip6tables-save; ++ip6tables-restoreCmd /usr/sbin/ip6tables-restore; -- cgit v1.2.3-54-g00ecf From ccbb511514fdf3cca2d9faa804174cd3456d735b Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 19:41:19 +0200 Subject: gcc-gcj --- pcr/gcc-gcj/PKGBUILD | 72 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 22 deletions(-) diff --git a/pcr/gcc-gcj/PKGBUILD b/pcr/gcc-gcj/PKGBUILD index f50e496bf..2ae2090ae 100644 --- a/pcr/gcc-gcj/PKGBUILD +++ b/pcr/gcc-gcj/PKGBUILD @@ -1,43 +1,42 @@ -# Contributor (Arch): Renan Manola -# Contributor (Arch): Stefan Husmann +# Contributor: Renan Manola +# Contributor: Stefan Husmann +# Contributor: Joey Dumont +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES # Based on a modified version of the gcc PKGBUILD -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=gcc-gcj -pkgver=4.7.2 -pkgrel=2 +pkgver=4.9.0 +pkgrel=1 pkgdesc="The GNU Compiler for Java" arch=('i686' 'x86_64') license=('GPL' 'LGPL') url="http://gcc.gnu.org" -depends=("gcc=$pkgver" 'gtk2' 'file' 'zip' 'libsm' 'libxtst' 'alsa-lib' 'libart-lgpl') -makedepends=('binutils>=2.20.1' 'mpfr>=2.4.2-2' 'cloog>=0.16.2-1' 'elfutils' - 'libmpc>=0.8.2-2' 'jack') +depends=('gtk2' 'libxtst' 'alsa-lib' 'cloog>=0.16.2-1' 'libmpc>=0.8.2-2' 'classpath') +makedepends=('mpfr>=2.4.2-2' 'elfutils' 'jack' 'zip' 'gcc' 'libart-lgpl') +optdepends=('python2: for running /usr/bin/aot-compile' + 'java-environment: for runnig some jars') options=('!libtool') install=$pkgname.install -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 libjava-sjlj.dpatch gcc_pure64.patch) -md5sums=('cc308a0891e778cfda7a151ab8a6e762' - 'afe3541abf5ce163223f94ccdbc66e30' - 'ced48436c1b3c981d721a829f1094de1') +source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2") build() { - cd ${srcdir}/gcc-${pkgver} + cd "$srcdir"/gcc-${pkgver} # Do not install libiberty sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in # Do not run fixincludes sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - - chmod +x ${srcdir}/*.dpatch - ${srcdir}/libjava-sjlj.dpatch -patch + + # Arch Linux installs x86_64 libraries /lib + [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 + + # Arch uses python version 3 as default python + sed -i '1s+python+python2+' libjava/contrib/aot-compile.in echo ${pkgver} > gcc/BASE-VER - [ -d build ] || mkdir build - if [ "${CARCH}" = "x86_64" ]; then - patch -p1 < $srcdir/gcc_pure64.patch - fi + cd build ../configure --prefix=/usr --enable-shared --enable-languages=java \ @@ -46,11 +45,12 @@ build() { --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch \ --with-tune=generic --enable-java-awt=gtk --with-java-home="$JAVA_HOME" \ --enable-libgcj-multifile --disable-plugin --with-system-zlib + CPPFLAGS= make } package() { - cd ${srcdir}/gcc-${pkgver}/build + cd "$srcdir"/gcc-${pkgver}/build make -j1 DESTDIR=${pkgdir} install-target-libjava cd gcc @@ -69,8 +69,36 @@ package() { rm -f ${pkgdir}/usr/man/man1/g++.* # Rename two files to not conflict to classpath mv ${pkgdir}/usr/share/info/cp-tools.info ${pkgdir}/usr/share/info/cp-tools-gcj.info - rm ${pkgdir}/usr/share/info/dir mv ${pkgdir}/usr/share/man/man1/gjdoc.1 ${pkgdir}/usr/share/man/man1/gjdoc.gcj.1 + cd $pkgdir + [[ $CARCH == "x86_64" ]] && rm usr/lib/libgcc_s.so usr/lib/libgcc_s.so.1 \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbegin.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbeginS.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbeginT.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtend.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtendS.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtfastmath.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec32.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec64.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec80.o \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/include/unwind.h \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcc.a \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcc_eh.a \ + usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcov.a + [[ $CARCH == "i686" ]] && rm usr/lib/libgcc_s.so usr/lib/libgcc_s.so.1 \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbegin.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbeginS.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbeginT.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtend.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtendS.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtfastmath.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec32.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec64.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec80.o \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/include/unwind.h \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcc.a \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcc_eh.a \ + usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcov.a find ${pkgdir}/usr/lib -type f -name '*.so.*' -exec strip --strip-unneeded {} \; -- cgit v1.2.3-54-g00ecf From f0d97220c6c7bf8abd40d4e2fd72beb4109f24ff Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 20:03:01 +0200 Subject: python2-netaddr --- pcr/python2-netaddr/PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pcr/python2-netaddr/PKGBUILD b/pcr/python2-netaddr/PKGBUILD index b9d4da022..ff07e3c07 100644 --- a/pcr/python2-netaddr/PKGBUILD +++ b/pcr/python2-netaddr/PKGBUILD @@ -1,19 +1,23 @@ -# Contributor (Arch): Sebastien LEDUC -# Contributor (Arch): Gilles CHAUVIN -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Sebastien LEDUC +# Contributor: Gilles CHAUVIN +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=python2-netaddr -pkgver=0.7.10 -pkgrel=1 +pkgver=0.7.11 +pkgrel=3 pkgdesc="A pure Python network address representation and manipulation library" -arch=('i686' 'x86_64') +arch=('any') license=('BSD') url="http://github.com/drkjam/netaddr/" depends=('python2') -source=("http://github.com/downloads/drkjam/netaddr/netaddr-$pkgver.tar.gz") +optdepends=('ipython2: used to work with the netaddr interractive command') +source=("https://github.com/drkjam/netaddr/archive/release-${pkgver}.tar.gz") -build() { - cd "$srcdir/netaddr-$pkgver/" +package() { + cd "$srcdir/netaddr-release-$pkgver/" python2 setup.py install --root="$pkgdir/" --optimize=1 + + # the netaddr command is also provided by the python-netaddr package + mv "$pkgdir/usr/bin/netaddr" "$pkgdir/usr/bin/netaddr2" } -- cgit v1.2.3-54-g00ecf From efbdeced67ed61517772ff1423cb0c97b9473641 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:12:57 +0200 Subject: python2-paste-deploy --- pcr/python2-paste-deploy/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/python2-paste-deploy/PKGBUILD diff --git a/pcr/python2-paste-deploy/PKGBUILD b/pcr/python2-paste-deploy/PKGBUILD new file mode 100644 index 000000000..e3c6a08bd --- /dev/null +++ b/pcr/python2-paste-deploy/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Limao Luo +# Contributor: David Campbell +# Contributor: Cilyan Olowen +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +_pkgname=PasteDeploy +pkgname=python2-paste-deploy +pkgver=1.5.0 +pkgrel=2 +pkgdesc="Load, configure, and compose WSGI applications and servers" +arch=(any) +url=http://pythonpaste.org/deploy/ +license=(custom) +depends=(python2) +makedepends=(python2-setuptools) +source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz) + +prepare() { + find $_pkgname-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; +} + +build() { + cd $_pkgname-$pkgver/ + python2 setup.py build +} + +package() { + cd $_pkgname-$pkgver/ + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} -- cgit v1.2.3-54-g00ecf From f92acfcf6c0ea99d8fd04ad7297bf5511187377d Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:22:20 +0200 Subject: python2-repoze.lru --- pcr/python2-repoze.lru/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr/python2-repoze.lru/PKGBUILD diff --git a/pcr/python2-repoze.lru/PKGBUILD b/pcr/python2-repoze.lru/PKGBUILD new file mode 100644 index 000000000..d156d9bff --- /dev/null +++ b/pcr/python2-repoze.lru/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: DasIch +# Contributor: James Bulmer +# Maintainer : Parabola GNU / Linux-libre + +pkgname="python2-repoze.lru" +pkgver=0.6 +pkgrel=2 +pkgdesc="A tiny LRU cache implementation and decorator" +arch=("any") +url="https://pypi.python.org/pypi/repoze.lru" +license=("custom:BSD") +depends=("python2") +makedepends=("python2-setuptools") +source=("https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/repoze.lru-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/repoze.lru-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} -- cgit v1.2.3-54-g00ecf From b70c4c7099f7826a3f60d397b4db2cf5f5d5262e Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:24:05 +0200 Subject: python2-routes --- pcr/python2-routes/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/python2-routes/PKGBUILD diff --git a/pcr/python2-routes/PKGBUILD b/pcr/python2-routes/PKGBUILD new file mode 100644 index 000000000..3e8ab08c5 --- /dev/null +++ b/pcr/python2-routes/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: SpepS +# Contributor: James Bulmer +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname="python2-routes" +pkgver=2.0 +pkgrel=2 +pkgdesc="Routing recognition and generation tools" +arch=("any") +url="https://pypi.python.org/pypi/Routes" +license=("custom:BSD") + +depends=( + "python2" + "python2-repoze.lru" +) + +makedepends=("python2-setuptools") +source=("https://pypi.python.org/packages/source/R/Routes/Routes-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/Routes-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/Routes-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} -- cgit v1.2.3-54-g00ecf From dbe274410893121927b09bb50b663c32520babb0 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:33:00 +0200 Subject: python2-wsgiref --- pcr/python2-wsgiref/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/python2-wsgiref/PKGBUILD diff --git a/pcr/python2-wsgiref/PKGBUILD b/pcr/python2-wsgiref/PKGBUILD new file mode 100644 index 000000000..3eafb7c9b --- /dev/null +++ b/pcr/python2-wsgiref/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Limao Luo +# Contributor: Philipp Schmidt +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname=python2-wsgiref +pkgver=0.1.2 +pkgrel=2 +pkgdesc="WSGI (PEP 333) Reference Library" +arch=(any) +url=http://cheeseshop.python.org/pypi/wsgiref +license=(PSF ZPL) +depends=(python2) +makedepends=(python2-setuptools) +source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.zip) + +prepare() { + find ${pkgname#*-}-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; +} + +build() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py build +} + +package() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3-54-g00ecf From 81328e893644f696d8a2be165071f6b083b45239 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:55:22 +0200 Subject: python2-xattr --- pcr/python2-xattr/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/python2-xattr/PKGBUILD diff --git a/pcr/python2-xattr/PKGBUILD b/pcr/python2-xattr/PKGBUILD new file mode 100644 index 000000000..8f0fb1bca --- /dev/null +++ b/pcr/python2-xattr/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Limao Luo +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname=python2-xattr +pkgver=0.7.4 +pkgrel=1 +pkgdesc="Module for manipulating filesystem extended attributes" +arch=(i686 x86_64) +url=https://pypi.python.org/pypi/xattr/ +license=(MIT) +depends=(python2 python2-cffi) +makedepends=(python2-setuptools) +source=(http://pypi.python.org/packages/source/x/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz) + +prepare() { + sed -ri 's:^#!/usr/bin/(env )?python$:&2:' ${pkgname#*-}-$pkgver/${pkgname#*-}/tool.py +} + +build() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py build +} + +package() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} -- cgit v1.2.3-54-g00ecf From 7eaa23987dffa7ef5d55910f01158ad829603040 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:59:34 +0200 Subject: python2-sendfile --- pcr/python2-sendfile/PKGBUILD | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/pcr/python2-sendfile/PKGBUILD b/pcr/python2-sendfile/PKGBUILD index 8da81bcbf..714e8e07e 100644 --- a/pcr/python2-sendfile/PKGBUILD +++ b/pcr/python2-sendfile/PKGBUILD @@ -1,22 +1,21 @@ -# Contributor (Arch): Josh Chase -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Axilleas Pipinellis +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=python2-sendfile -_pkgname=py-sendfile -pkgver=1.2.3 -pkgrel=1 -pkgdesc="pysendfile" -url="http://code.google.com/p/pysendfile" +_pkgname=pysendfile +pkgver=2.0.0 +pkgrel=2 +pkgdesc="A Python interface to sendfile(2)" +url="http://code.google.com/p/pysendfile/" license=('MIT') arch=('i686' 'x86_64') -depends=('python2' 'setuptools') -conflicts=() -replaces=() -backup=() -source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +depends=('python2') +makedepends=('python2-distribute') +source=("https://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz") -build() { +package() { cd $srcdir/$_pkgname-$pkgver - python2 setup.py build - python2 setup.py install --root=$pkgdir + python2 setup.py install --root=$pkgdir --optimize=1 } + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf From 73869cdcec4bc2e8ca910775b31900bbb345a9e7 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 00:06:01 +0200 Subject: python2-glanceclient --- pcr/python2-glanceclient/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/python2-glanceclient/PKGBUILD diff --git a/pcr/python2-glanceclient/PKGBUILD b/pcr/python2-glanceclient/PKGBUILD new file mode 100644 index 000000000..391e98caa --- /dev/null +++ b/pcr/python2-glanceclient/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Limao Luo +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname=python2-glanceclient +pkgver=0.12.0 +pkgrel=1 +pkgdesc="OpenStack image service (client libs)" +arch=(any) +url=https://launchpad.net/glance +license=(custom) +depends=(python2-anyjson python2-crypto python2-eventlet python2-greenlet python2-httplib2 + python2-iso8601 python2-kombu python2-lxml python2-migrate python2-netaddr python2-passlib + python2-paste python2-paste-deploy python2-routes python2-sendfile python2-sqlalchemy + python2-webob python2-wsgiref python2-xattr python2-pbr python2-pip) +makedepends=(python2-setuptools) +source=(https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname//2}/${pkgname//2}-$pkgver.tar.gz) + +prepare() { + find ${pkgname//2}-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; +} + +build() { + cd ${pkgname//2}-$pkgver/ + python2 setup.py build +} + +package() { + cd ${pkgname//2}-$pkgver/ + python2 setup.py install --root="$pkgdir" +} -- cgit v1.2.3-54-g00ecf From a06c1140a9cf8c521ac6d980e8b495a27d51c927 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 00:11:24 +0200 Subject: python2-keystoneclient --- pcr/python2-keystoneclient/PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pcr/python2-keystoneclient/PKGBUILD diff --git a/pcr/python2-keystoneclient/PKGBUILD b/pcr/python2-keystoneclient/PKGBUILD new file mode 100644 index 000000000..66f255776 --- /dev/null +++ b/pcr/python2-keystoneclient/PKGBUILD @@ -0,0 +1,42 @@ +# Contributor: Limao Luo +# Contributor: James Bulmer +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname="python2-keystoneclient" +pkgver=0.8.0 +pkgrel=2 +pkgdesc="Client library for Openstack identity" +arch=("any") +url="https://pypi.python.org/pypi/python-keystoneclient/" +license=("Apache") + +depends=( + "python2" + "python2-pbr" + "python2-netaddr" + "python2-six" + "python2-iso8601" + "python2-oslo-config" + "python2-babel" + "python2-prettytable" + "python2-requests" + "python2-pip" +) + +makedepends=("python2-setuptools") + +conflicts=( + "python2-keystoneclient-git" +) + +source=("https://pypi.python.org/packages/source/p/python-keystoneclient/python-keystoneclient-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/python-keystoneclient-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/python-keystoneclient-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} -- cgit v1.2.3-54-g00ecf From a86f8f800cc9cb439878cac8277a881f09eb7fc1 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 00:15:45 +0200 Subject: python2-warlock --- pcr/python2-warlock/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pcr/python2-warlock/PKGBUILD diff --git a/pcr/python2-warlock/PKGBUILD b/pcr/python2-warlock/PKGBUILD new file mode 100644 index 000000000..b11e1a420 --- /dev/null +++ b/pcr/python2-warlock/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Limao Luo +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES + +pkgname=python2-warlock +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Python object model built on JSON schema and JSON patch" +arch=(any) +url=https://github.com/bcwaldon/warlock +license=(Apache) +depends=(python2-jsonpatch) +makedepends=(python2-setuptools) +source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz) + +build() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py build +} + +package() { + cd ${pkgname#*-}-$pkgver/ + python2 setup.py install --prefix=/usr --root="$pkgdir" +} -- cgit v1.2.3-54-g00ecf From 2644fa0bacf8df899f62a7a2a9199ab5bc36cf27 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 00:18:43 +0200 Subject: glance --- pcr/glance/PKGBUILD | 76 +++++++++++++++++------------------------------------ 1 file changed, 24 insertions(+), 52 deletions(-) diff --git a/pcr/glance/PKGBUILD b/pcr/glance/PKGBUILD index 3dd349e8b..846d17f1d 100644 --- a/pcr/glance/PKGBUILD +++ b/pcr/glance/PKGBUILD @@ -1,62 +1,34 @@ -# Contributor (Arch): Josh Chase -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Limao Luo +# Contributor: Josh Chase +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=glance -pkgver=2012.1.2 +_relname=icehouse +pkgver=2014.1.b2 pkgrel=1 -_ostackver=essex -_clientname=python-glanceclient -_clientver=0.5.1 -pkgdesc="OpenStack image service" -arch=('any') -license=('custom') -url="https://launchpad.net/$pkgname" -depends=('python2' - 'python2-httplib2' - 'python2-webob' - 'python2-eventlet' - 'python2-greenlet' - 'python-paste' - 'python-paste-deploy' - 'python-routes' - 'python2-sqlalchemy' - 'python2-migrate' - 'python2-passlib' - 'python2-lxml' - 'python-anyjson' - 'python-wsgiref' - 'python2-argparse' - 'python2-boto' - 'python-xattr' - 'python2-kombu' - 'python2-crypto' - 'python2-sendfile' - 'python2-iso8601') -makedepends=('python2-distribute') -source=("https://launchpad.net/$pkgname/$_ostackver/$pkgver/+download/$pkgname-$pkgver.tar.gz" - "http://pypi.python.org/packages/source/${_clientname:0:1}/$_clientname/$_clientname-$_clientver.tar.gz") +pkgdesc="OpenStack image registry and delivery service" +arch=(any) +url=https://launchpad.net/glance +license=(custom) +depends=(python2-jsonpointer python2-glanceclient python2-keystoneclient + python2-pyopenssl python2-warlock) +makedepends=(python2-setuptools) +source=($url/$_relname/$_relname-2/+download/$pkgname-$pkgver.tar.gz) -build() { - cd $srcdir - - find . -type f -exec sed -i -e 's|^#!/usr/bin/python$|#!/usr/bin/python2|' \ - -e 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' {} + - - cd $srcdir/$_clientname-$_clientver - python2 setup.py build +prepare() { + find $pkgname-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; +} - cd "$srcdir/$pkgname-$pkgver" - python2 setup.py build +build() { + cd $pkgname-$pkgver/ + python2 setup.py build } package() { - cd $srcdir/$_clientname-$_clientver - python2 setup.py install --root=$pkgdir + cd $pkgname-$pkgver/ + python2 setup.py install --root="$pkgdir" --optimize=1 - cd "$srcdir/$pkgname-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -dm600 "$pkgdir"/etc/$pkgname - install -Dm600 etc/* "$pkgdir"/etc/$pkgname/ - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -d "$pkgdir"/etc/ + cp -r etc/ "$pkgdir"/etc/$pkgname/ + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -- cgit v1.2.3-54-g00ecf From dfdfc0b4af3fda1ba0024a878c9d03d44ae37a37 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 08:16:52 +0200 Subject: emacs-js2-mode --- pcr/emacs-js2-mode/PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pcr/emacs-js2-mode/PKGBUILD b/pcr/emacs-js2-mode/PKGBUILD index 49a4cbc04..c81db90c7 100644 --- a/pcr/emacs-js2-mode/PKGBUILD +++ b/pcr/emacs-js2-mode/PKGBUILD @@ -1,20 +1,20 @@ -# Contributor (Arch): Hauke Wesselmann -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Hauke Wesselmann +# Contributor: xgdgsc +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=emacs-js2-mode -pkgver=20090723b +pkgver=20120726 pkgrel=1 pkgdesc="An improved JavaScript mode for GNU Emacs" arch=('i686' 'x86_64') url="http://code.google.com/p/js2-mode/" license=('GPL2') depends=('emacs') -source=(http://js2-mode.googlecode.com/files/js2-$pkgver.el) -md5sums=('9109dca8b624edb8358fb9938a03d785') +source=(https://js2-mode.googlecode.com/files/js2-mode.el) build() { - cd $startdir/src/ - emacs -batch -q -f batch-byte-compile js2-$pkgver.el - install -Dm644 $srcdir/js2-$pkgver.el $pkgdir/usr/share/emacs/site-lisp/js2.el - install -Dm644 $srcdir/js2-$pkgver.elc $pkgdir/usr/share/emacs/site-lisp/js2.elc + cd $srcdir + emacs -batch -q -f batch-byte-compile js2-mode.el + install -Dm644 $srcdir/js2-mode.el $pkgdir/usr/share/emacs/site-lisp/js2-mode.el + install -Dm644 $srcdir/js2-mode.elc $pkgdir/usr/share/emacs/site-lisp/js2-mode.elc } -- cgit v1.2.3-54-g00ecf From 66565071c1ea5fa225b2825e12f112d458a4ab37 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 08:31:07 +0200 Subject: h264enc --- pcr/h264enc/PKGBUILD | 12 +++++------- pcr/h264enc/h264enc.install | 3 +++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pcr/h264enc/PKGBUILD b/pcr/h264enc/PKGBUILD index 151d05be0..b4d399b80 100644 --- a/pcr/h264enc/PKGBUILD +++ b/pcr/h264enc/PKGBUILD @@ -1,10 +1,10 @@ -# Contributor (Arch): AlexanderR -# Contributor (Arch): Markus Heuser -# Contributor (Arch): Stefan Clarke -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: AlexanderR +# Contributor: Markus Heuser +# Contributor: Stefan Clarke +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=h264enc -pkgver=9.4.8 +pkgver=10.0.5 pkgrel=1 pkgdesc="Advanced shell script for encoding DVDs or video files to the H.264 format using the encoding utility MEncoder from MPlayer." arch=('any') @@ -31,5 +31,3 @@ package() { rm ${pkgdir}/usr/share/doc/h264enc/{uninstall,LICENSE} } -sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d') -sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d') diff --git a/pcr/h264enc/h264enc.install b/pcr/h264enc/h264enc.install index 3c17e8130..78d77a65f 100644 --- a/pcr/h264enc/h264enc.install +++ b/pcr/h264enc/h264enc.install @@ -6,4 +6,7 @@ post_upgrade() { if [[ "$2" < "9.4.3" ]]; then echo "~/.h264enc/config syntax changed since version 9.4.2. Update it by hands."; fi + if [[ "$2" < "9.5.1" ]]; then + echo "~/.h264enc/config syntax changed since version 9.5.1. Update it by hands."; + fi } -- cgit v1.2.3-54-g00ecf From 046d46bbccb15826cb67244a90c65bb7dd84279c Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 08:41:55 +0200 Subject: hwd --- pcr/hwd/PKGBUILD | 21 +++++++++++++++++++++ pcr/hwd/hwd.install | 30 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 pcr/hwd/PKGBUILD create mode 100644 pcr/hwd/hwd.install diff --git a/pcr/hwd/PKGBUILD b/pcr/hwd/PKGBUILD new file mode 100644 index 000000000..f4af6f8f5 --- /dev/null +++ b/pcr/hwd/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Diogo Leal +# Contributor: Diogo Leal +# Maintainer : Parabola GNU / Linux-libre + +pkgname=hwd +pkgver=5.5.2 +pkgrel=2 +pkgdesc="Hardware detect and xorg.conf generator for Arch Linux" +arch=('i686' 'x86_64') +url="http://user-contributions.org/projects/hwd/hwd.html" +license=('GPL') +depends=('bash' 'pciutils' 'usbutils' 'ddcxinfo-arch' 'wget') +install=hwd.install +source=(http://user-contributions.org/projects/hwd/src/$pkgname-$pkgver.bin.tar.gz) + +build() { + cd $srcdir/$pkgname-$pkgver + install -d ${pkgdir}/{etc/hwd,usr/bin,usr/share/hwd} + install -Dm755 usr/sbin/* ${pkgdir}/usr/bin/ || return 1 + for x in "etc/hwd" "usr/share/hwd/" "usr/bin" ; do install -Dm755 $x/* ${pkgdir}/$x/ || return 1; done +} diff --git a/pcr/hwd/hwd.install b/pcr/hwd/hwd.install new file mode 100644 index 000000000..04955bfa9 --- /dev/null +++ b/pcr/hwd/hwd.install @@ -0,0 +1,30 @@ +# arg 1: the new package version +post_install() { +echo "" +echo "lshwd dependency is replaced by pciutils and usbutils." +echo "" +echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids." +echo "" +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +echo "" +echo "lshwd dependency is replaced by pciutils and usbutils." +echo "" +echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids." +echo "" + +} + +# arg 1: the old package version +pre_remove() { + rm -R /etc/hwd >/dev/null 2>&1 +} + +op=$1 +shift + +$op $* -- cgit v1.2.3-54-g00ecf From 48dcaf9a7fe34b7a1752c57e227053623714e9fb Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 09:43:51 +0200 Subject: ibus-bogo --- pcr/ibus-bogo/PKGBUILD | 67 ++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 43 deletions(-) diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD index 915112d36..acb7c5a5b 100644 --- a/pcr/ibus-bogo/PKGBUILD +++ b/pcr/ibus-bogo/PKGBUILD @@ -1,55 +1,36 @@ -# Contributor (Arch): Nguyen Ha Duong -# Contributor (Arch): Ngo Trung -# Contributor (Arch): Dam Tien Long -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Nguyen Ha Duong +# Contributor: Ngo Trung +# Contributor: Dam Tien Long +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname="ibus-bogo" -pkgver=0.1.0 -pkgrel=1 -pkgdesc=" Bogo Engine for Ibus" +pkgver=0.4 +pkgrel=0 +pkgdesc="Vietnamese input method for IBus. \ +Git version's https://aur.archlinux.org/packages/ibus-bogo-git/" arch=('i686' 'x86_64') -url="https://github.com/BoGoEngine" -license=('GPLv3') -depends=('ibus' 'python2' 'glibmm' 'python2-gobject') -makedepends=('git' 'cmake' 'gcc' 'python2') -provides=('ibus-bogo') +url="https://github.com/BoGoEngine/ibus-bogo-python" +license=('GPL v3') +depends=('ibus' 'python' 'python-gobject' 'libwnck3' 'python-pyqt4' 'libnotify' 'qt4') +makedepends=('git' 'cmake' 'gcc' 'pyqt4-common') +source=("https://github.com/BoGoEngine/ibus-bogo-python/releases/download/v$pkgver.$pkgrel/ibus-bogo_$pkgver.$pkgrel.tar.gz") -_gitpython="https://github.com/BoGoEngine/ibus-bogo-python.git" -_gitpythonname="ibus-bogo-python" - -install=install build() { - cd ${srcdir} - - if [ -d ${_gitpythonname} ] ; then - cd ${srcdir}/${_gitpythonname} && git pull - msg "Local ${srcdir}/${_gitpythonname} updated" - - else - git clone ${_gitpython} ${_gitpythonname} - - fi - - - - msg "Starting make..." - - mkdir ${pkgdir}/usr/ - - # Building ibus-bogo-python - cd ${srcdir}/${_gitpythonname} - if [ -d build ]; then - cd build - else - mkdir build - cd build - fi + cd ${srcdir}/${pkgname} + msg "Starting build..." + + # Building ibus-bogo-python + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" .. make + } +package() { + cd ${srcdir}/${pkgname}/build make install - rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled - } + -- cgit v1.2.3-54-g00ecf From a5498a8e139b6f9ef22b4d86153722cbb10e4273 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 18:42:37 +0200 Subject: pacman2pacman --- pcr/pacman2pacman/PKGBUILD | 34 ++++++++++++++++++++++++++++ pcr/pacman2pacman/instructions.install | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 pcr/pacman2pacman/PKGBUILD create mode 100644 pcr/pacman2pacman/instructions.install diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD new file mode 100644 index 000000000..ed2bae912 --- /dev/null +++ b/pcr/pacman2pacman/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Joseph Graham +pkgname=pacman2pacman +pkgver=1.2.1 +pkgrel=1 +pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up" +arch=(any) +url="https://wiki.parabolagnulinux.org/Pacman2pacman" +license=('GPL') +depends=(transmission-cli curl) +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(emptydirs) +install='instructions.install' +changelog= +source=(https://t67.eu/filebin/$pkgname-$pkgver.tar.gz) +noextract=() + +package() { + cd $pkgname + + mkdir -p "${pkgdir}/srv/pacman2pacman/torrents" + + chown -R transmission "${pkgdir}/srv/pacman2pacman/" + + mkdir -p "${pkgdir}/usr/bin" + + cp pacman2pacman-get "${pkgdir}/usr/bin" + + chmod +x "${pkgdir}/usr/bin/pacman2pacman-get" +} diff --git a/pcr/pacman2pacman/instructions.install b/pcr/pacman2pacman/instructions.install new file mode 100644 index 000000000..503573305 --- /dev/null +++ b/pcr/pacman2pacman/instructions.install @@ -0,0 +1,41 @@ +# This is a default template for a post-install scriptlet. +# Uncomment only required functions and remove any functions +# you don't need (and this header). + +## arg 1: the new package version +#pre_install() { + # do something here +#} + +## arg 1: the new package version +post_install() { + # do something here + echo 'transmission-daemon needs to be running for pacman2pacman to work:' + echo 'systemctl start transmission' + echo 'systemctl enable transmission' + echo + echo 'Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o' +} + +## arg 1: the new package version +## arg 2: the old package version +#pre_upgrade() { + # do something here +#} + +## arg 1: the new package version +## arg 2: the old package version +#post_upgrade() { + # do something here +#} + +## arg 1: the old package version +#pre_remove() { + # do something here +#} + +## arg 1: the old package version +post_remove() { + # do something here + echo "Don't forget to remove pacman2pacman from pacman.conf's \`XferCommand' setting." +} -- cgit v1.2.3-54-g00ecf From bf725c5b41e91a279bd79c6749b4b8950005d456 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sun, 1 Jun 2014 20:31:32 +0200 Subject: pacman2pacman --- pcr/pacman2pacman/PKGBUILD | 14 +++----------- pcr/pacman2pacman/pacman2pacman.install | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 pcr/pacman2pacman/pacman2pacman.install diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD index ed2bae912..6c6cf64b3 100644 --- a/pcr/pacman2pacman/PKGBUILD +++ b/pcr/pacman2pacman/PKGBUILD @@ -1,23 +1,15 @@ # Maintainer: Joseph Graham pkgname=pacman2pacman pkgver=1.2.1 -pkgrel=1 +pkgrel=3 pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up" arch=(any) url="https://wiki.parabolagnulinux.org/Pacman2pacman" license=('GPL') -depends=(transmission-cli curl) -makedepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() +depends=(transmission-cli) options=(emptydirs) -install='instructions.install' -changelog= +install=$pkgname.install source=(https://t67.eu/filebin/$pkgname-$pkgver.tar.gz) -noextract=() package() { cd $pkgname diff --git a/pcr/pacman2pacman/pacman2pacman.install b/pcr/pacman2pacman/pacman2pacman.install new file mode 100644 index 000000000..ea0b144fe --- /dev/null +++ b/pcr/pacman2pacman/pacman2pacman.install @@ -0,0 +1,16 @@ +post_install() { + chmod 777 /var/cache/pacman/pkg + + echo 'transmission-daemon needs to be running for pacman2pacman to work:' + echo 'systemctl start transmission' + echo 'systemctl enable transmission' + echo + echo 'Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o' + echo + echo 'Note that /var/cache/pacman/pkg has been chmoded 777' +} + +post_remove() { + echo "Don't forget to remove pacman2pacman from pacman.conf's \`XferCommand' setting." + echo 'Also note that /var/cache/pacman/pkg was chmoded 777 on installation, you might want to change it back.' +} -- cgit v1.2.3-54-g00ecf