Browse Source

initial push

master
Markus Bergholz 8 years ago
parent
commit
61515adf26
  1. 2
      README.md
  2. 20
      publish/pidgin-birthday-reminder/PKGBUILD
  3. 53
      publish/qucs-git/PKGBUILD
  4. 19
      publish/qucs-git/adms.patch
  5. 25
      publish/recoverjpeg/PKGBUILD
  6. 25
      testing/adms/PKGBUILD
  7. 24
      testing/adms/autogen.patch
  8. 33
      testing/asco-mpi/PKGBUILD
  9. 10
      testing/asco-mpi/asco.patch
  10. 33
      testing/asco-openmpi/PKGBUILD
  11. 10
      testing/asco-openmpi/asco.patch
  12. 60
      testing/mpich/PKGBUILD
  13. 42
      testing/mpich/install.mpich
  14. 3
      testing/mpich/mpich.profile
  15. BIN
      testing/qucs-git.tar.gz

2
README.md

@ -2,3 +2,5 @@ aur
===
My Arch User Repository
https://aur.archlinux.org/packages/?SeB=m&K=markuman

20
publish/pidgin-birthday-reminder/PKGBUILD

@ -0,0 +1,20 @@
# Contributer: markuman <markuman@gmail.com>
pkgname=pidgin-birthday-reminder
pkgver=1.7
pkgrel=1
pkgdesc="Pidgin Birthday Reminder Plugin"
url="https://launchpad.net/pidgin-birthday-reminder"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc' 'pidgin')
makedepends=('intltool')
source=(http://launchpad.net/pidgin-birthday-reminder/trunk/$pkgver/+download/pidgin-birthday-reminder-$pkgver.tar.gz)
md5sums=(de90fa450baabb41422f323a75a6a7ac)
build() {
cd $srcdir/pidgin-birthday-reminder-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$pkgdir install
}

53
publish/qucs-git/PKGBUILD

@ -0,0 +1,53 @@
# Contributor: markuman <markuman@gmail.com>
_pkgname=qucs
pkgname=$_pkgname-git
pkgver=20130410
pkgrel=1
pkgdesc="An integrated circuit simulator with a graphical user interface. (qt4 git version)"
arch=('i686' 'x86_64')
url="http://qucs.sourceforge.net"
license=('GPL')
depends=('qt4' 'gperf')
makedepends=('git' 'autoconf' 'automake' 'perl-gd' 'perl-xml-libxml')
optdepends=('freehdl: to permit digital circuit simulation'
'asco: to enable circuit optimization'
'perl')
source=('adms.patch'
'qucs-git::git+http://git.code.sf.net/p/qucs/git')
md5sums=('2a69f84f9e5bdb889cadab56803c33de'
'SKIP')
conflicts=($_pkgname)
build() {
patch -Np1 -i "${srcdir}/adms.patch"
cd "$srcdir/$pkgname/$_pkgname-core/adms"
chmod u+x autogen_lin.sh
./autogen_lin.sh
make -j1
cd "$srcdir/$pkgname/$_pkgname"
sh autogen.sh
./configure --enable-maintainer-mode --prefix=/usr
make
cd "$srcdir/$pkgname/$_pkgname-core"
sh autogen.sh
./configure --enable-maintainer-mode --prefix=/usr
make -j1
}
package() {
cd "$srcdir/$pkgname/$_pkgname-core/adms"
make DESTDIR="$pkgdir" install
cd "$srcdir/$pkgname/$_pkgname"
make DESTDIR="$pkgdir" install
cd "$srcdir/$pkgname/$_pkgname-core"
make DESTDIR="$pkgdir" install
}

19
publish/qucs-git/adms.patch

@ -0,0 +1,19 @@
--- a/qucs-git/qucs-core/adms/autogen_lin.sh 2013-04-10 21:26:28.657036096 +0200
+++ b/qucs-git/qucs-core/adms/autogen_lin.sh 2013-04-10 21:26:37.200369969 +0200
@@ -51,7 +51,7 @@
#
# run configure
#
-CMD="./configure --enable-maintainer-mode"
+CMD="./configure --enable-maintainer-mode --prefix=/usr"
echo "Running $CMD $@ ..."
$CMD "$@"
#
@@ -60,7 +60,3 @@
echo "Running make clean"
make clean
-echo
-echo "Continue with:"
-echo "make"
-echo "make install"

25
publish/recoverjpeg/PKGBUILD

@ -0,0 +1,25 @@
# Contributer: markuman <markuman@gmail.com>
pkgname=recoverjpeg
pkgver=2.2.2
pkgrel=1
pkgdesc="Recover jpegs from damaged devices"
url="http://www.rfc1149.net/devel/recoverjpeg"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
optdepends=('libexif: needed for sort-pictures'
'imagemagick: needed for sort-pictures')
source=(http://www.rfc1149.net/download/recoverjpeg/$pkgname-$pkgver.tar.gz)
md5sums=(05557b419e805e53e9e369c76d2e679e)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}

25
testing/adms/PKGBUILD

@ -0,0 +1,25 @@
# Contributor: markuman <markuman@gmail.com>
pkgname=adms
pkgrel=1
pkgver=2.3.0
pkgdesc="Goal is to offer a library of binaries of compact models for major analog simulators: eldo, spectre, gnucap, ads, qucs"
arch=('i686' 'x86_64')
url="https://github.com/upverter/ADMS"
license=('GPL')
depends=('perl-xml-libxml')
makedepends=('autoconf' 'automake' 'git')
source=('autogen.patch')
md5sums=('19591a38c5c5fdd76cc9f5303f73c180')
build() {
git clone https://github.com/upverter/ADMS
cd "$srcdir/ADMS"
patch -Np1 -i "${srcdir}/autogen.patch"
./autogen_lin.sh
make -j1
make DESTDIR="$pkgdir" install
}

24
testing/adms/autogen.patch

@ -0,0 +1,24 @@
--- a/autogen_lin.sh 2013-03-19 21:47:46.630499751 +0100
+++ b/autogen_lin.sh 2013-03-19 21:48:58.283837635 +0100
@@ -51,7 +51,7 @@
#
# run configure
#
-CMD="./configure --enable-maintainer-mode"
+CMD="./configure --enable-maintainer-mode --prefix=/usr"
echo "Running $CMD $@ ..."
$CMD "$@"
#
@@ -60,7 +60,7 @@
echo "Running make clean"
make clean
-echo
-echo "Continue with:"
-echo "make"
-echo "make install"
\ Kein Zeilenumbruch am Dateiende.
+#echo
+#echo "Continue with:"
+#echo "make"
+#echo "make install"

33
testing/asco-mpi/PKGBUILD

@ -0,0 +1,33 @@
# Maintainer: Markus Bergholz <markuman@gmail.com>
pkgname=asco-mpi
pkgver=0.4.8
pkgrel=1
pkgdesc="A SPICE Circuit Optimizer."
arch=('i686' 'x86_64')
url="http://asco.sourceforge.net"
license=('GPL')
groups=()
depends=(glibc)
makedepends=(mpich)
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("http://downloads.sourceforge.net/sourceforge/asco/ASCO-$pkgver.tar.gz"
asco.patch)
noextract=()
md5sums=('e9642201ea14d2adc02992298b8ba267'
'b40d36835541c71e2b532561e36d5e6f')
build() {
patch -Np1 -i "${srcdir}/asco.patch"
cd "$srcdir/ASCO-$pkgver"
make asco-mpi || return 1
make asco || return 1
install -D asco "$pkgdir/usr/bin/asco-mpi"
}
# vim:set ts=2 sw=2 et:

10
testing/asco-mpi/asco.patch

@ -0,0 +1,10 @@
--- a/ASCO-0.4.8/Makefile 2006-10-07 16:17:52.000000000 +0200
+++ b/ASCO-0.4.8/Makefile 2013-04-25 14:58:53.633353380 +0200
@@ -1,6 +1,6 @@
#
CC = gcc
-CC_MPI = <FULL_PATH_TO_MPICH>/bin/mpicc
+CC_MPI = /opt/mpich/bin/mpicc
CFLAGS = -Os -I. -I/usr/include

33
testing/asco-openmpi/PKGBUILD

@ -0,0 +1,33 @@
# Maintainer: Markus Bergholz <markuman@gmail.com>
pkgname=asco-openmpi
pkgver=0.4.8
pkgrel=1
pkgdesc="A SPICE Circuit Optimizer."
arch=('i686' 'x86_64')
url="http://asco.sourceforge.net"
license=('GPL')
groups=()
depends=(glibc)
makedepends=(openmpi)
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("http://downloads.sourceforge.net/sourceforge/asco/ASCO-$pkgver.tar.gz"
asco.patch)
noextract=()
md5sums=('e9642201ea14d2adc02992298b8ba267'
'597e8063db28ccd1cf71952c140689ce')
build() {
patch -Np1 -i "${srcdir}/asco.patch"
cd "$srcdir/ASCO-$pkgver"
make asco-mpi || return 1
make asco || return 1
install -D asco "$pkgdir/usr/bin/asco-mpi"
}
# vim:set ts=2 sw=2 et:

10
testing/asco-openmpi/asco.patch

@ -0,0 +1,10 @@
--- a/ASCO-0.4.8/Makefile 2006-10-07 16:17:52.000000000 +0200
+++ b/ASCO-0.4.8/Makefile 2013-04-25 14:58:53.633353380 +0200
@@ -1,6 +1,6 @@
#
CC = gcc
-CC_MPI = <FULL_PATH_TO_MPICH>/bin/mpicc
+CC_MPI = /usr/bin/mpicc
CFLAGS = -Os -I. -I/usr/include

60
testing/mpich/PKGBUILD

@ -0,0 +1,60 @@
# Contributor: Jed Brown <jed@59A2.org>
# Version 3.0.4 Update Markus Bergholz <markuman@gmail.com>
pkgname=mpich
pkgver=3.0.4
pkgrel=1
pkgdesc="An improved implementation of the Message Passing Interface."
url="http://mpich.org"
arch=('i686' 'x86_64')
license="custom"
depends=(python2 gcc-fortran libxml2 openssh numactl pciutils)
makedepends=(libtool make coreutils texlive-core sowing)
optdepends=(java-environment)
conflicts=()
replaces=(mpich2)
backup=()
install=install.mpich
source=(http://www.mpich.org/static/downloads/$pkgver/$pkgname-$pkgver.tar.gz
install.mpich
mpich.profile)
md5sums=('9c5d5d4fe1e17dd12153f40bc5b6dbc0'
'29ff900ac35cc85eca1feb3e33d98772'
'cc25fbbd74b99a8de632c7df9c6fbe3b')
options=(!libtool)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# CFLAGS etc are normally written into the wrapper compilers. This
# gives surprising results, e.g. when the user wants to compile their
# program without optimization.
export MPICHLIB_CFLAGS="$CFLAGS"; unset CFLAGS
export MPICHLIB_CXXFLAGS="$CXXFLAGS"; unset CXXFLAGS
export MPICHLIB_FFLAGS="$FFLAGS"; unset FFLAGS
export MPICHLIB_F90FLAGS="$F90FLAGS"; unset F90FLAGS
export MPICHLIB_LDFLAGS="$LDFLAGS"; unset LDFLAGS
mkdir -p build
cd build
../configure --prefix=/opt/mpich --enable-shared --enable-sharedlibs=gcc \
--enable-error-checking=runtime --enable-error-messages=all \
--enable-timer-type=clock_gettime \
--with-python=python2
make
make mandoc
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
ln -sf mpiexec.hydra "${pkgdir}/opt/mpich/bin/mpiexec"
ln -sf mpiexec "${pkgdir}/opt/mpich/bin/mpirun"
for pm in hydra; do
ln -sf "mpiexec.${pm}" "${pkgdir}/opt/mpich/bin/mpirun.${pm}"
done
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT ${pkgdir}/usr/share/licenses/mpich/license.txt
install -D -m755 ${srcdir}/${pkgname}.profile ${pkgdir}/etc/profile.d/mpich.sh
mkdir -p ${pkgdir}/etc/ld.so.conf.d
echo /opt/mpich/lib > ${pkgdir}/etc/ld.so.conf.d/mpich.conf
}

42
testing/mpich/install.mpich

@ -0,0 +1,42 @@
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
echo " *** Installation documentation at /opt/mpich/share/doc/mpich/install.pdf"
echo " *** /opt/mpich/bin is prepended to PATH, see /etc/profile.d/mpich.sh"
echo " *** Some binary names match versions from Open MPI in /usr, if installed"
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
# vim:syntax=sh

3
testing/mpich/mpich.profile

@ -0,0 +1,3 @@
export PATH=$PATH:/opt/mpich/bin
export MANPATH=$MANPATH:/opt/mpich/share/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/mpich/lib/pkgconfig

BIN
testing/qucs-git.tar.gz

Loading…
Cancel
Save