summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
committerroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
commit164067832916c8e59219e1b0f30d7d04618a536e (patch)
tree5ec718dc77dfccfcdb1409707658bef3fb421ac4 /~fauno
parenta1922d0ec660fdc1892f2783515f781c090df0a9 (diff)
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD62
-rw-r--r--~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD58
-rw-r--r--~fauno/notmuch/PKGBUILD20
-rw-r--r--~fauno/vala-notmuch/PKGBUILD31
-rw-r--r--~fauno/vala-notmuch/SRCBUILD39
-rw-r--r--~fauno/vala-notmuch/vala-notmuch.install6
6 files changed, 209 insertions, 7 deletions
diff --git a/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD
new file mode 100644
index 000000000..6fc5b1f16
--- /dev/null
+++ b/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 60835 2011-12-18 22:14:40Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+_cross=mips64el-unknown-linux-gnu
+pkgname=${_cross}-binutils
+pkgver=2.22
+pkgrel=1
+_date=20111227
+_xprefix=/usr
+pkgdesc="A set of programs to assemble and manipulate binary and object files"
+arch=(i686 x86_64)
+group=('mips64el-devel')
+license=(GPL)
+options=(!libtool)
+url="http://www.gnu.org/software/binutils/"
+depends=('glibc' 'zlib')
+#makedepends=("${_cross}-libtool")
+source=(http://mirrors.kernel.org/archlinux/other/binutils/binutils-${pkgver}_${_date}.tar.bz2)
+md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d')
+
+build() {
+ cd $srcdir/binutils
+
+ #export PATH=/usr/${_cross}/bin/:$PATH
+
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=${_xprefix} \
+ --program-prefix=${_cross}- \
+ --enable-shared \
+ --disable-multilib \
+ --with-lib-path=${_xprefix}/lib/binutils/${_cross} \
+ --disable-nls \
+ --target=${_cross} \
+ --host=${CHOST} \
+ --build=${CHOST} \
+ --with-sysroot=/usr/${CHOST}/${_cross} \
+
+ make configure-host
+ make tooldir=$pkgdir/${_xprefix}
+
+}
+
+package() {
+ cd $srcdir/binutils
+
+ make prefix=$pkgdir/${_xprefix} tooldir=$pkgdir/${_xprefix} install
+
+ mkdir -p $pkgdir/${_xprefix}/lib/binutils/${_cross}
+ cp -v include/libiberty.h $pkgdir/${_xprefix}/lib/binutils/${_cross}
+
+ rm -f $pkgdir/${_xprefix}/man/man1/{dlltool,nlmconv,windres}*
+
+ rm -f $pkgdir/usr/bin/ar
+ rm -f $pkgdir/usr/bin/as
+ rm -f $pkgdir/usr/bin/ld
+ rm -f $pkgdir/usr/bin/nm
+ rm -f $pkgdir/usr/bin/objdump
+ rm -f $pkgdir/usr/bin/ranlib
+ rm -f $pkgdir/usr/bin/strip
+ rm -f $pkgdir/usr/bin/objcopy
+ rm -f $pkgdir/usr/lib/libiberty.a
+ rm -rf $pkgdir/usr/share
+}
diff --git a/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD
new file mode 100644
index 000000000..becc02cfe
--- /dev/null
+++ b/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD
@@ -0,0 +1,58 @@
+# $Id: PKGBUILD 60837 2011-12-18 22:34:22Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+_cross=mips64el-unknown-linux-gnu
+pkgname=${_cross}-gcc-base
+pkgver=4.6.2
+pkgrel=1
+pkgdesc="The GNU Compiler Collection"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+url="http://gcc.gnu.org"
+depends=("${_cross}-binutils" 'libmpc' 'libelf')
+options=(!libtool !emptydirs zipman docs !strip)
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-core-${pkgver}.tar.bz2)
+md5sums=('780f614ab18c7a9066dec6387d7490b2')
+
+build() {
+ cd $srcdir/gcc-$pkgver
+
+ export CFLAGS="-O2 -pipe"
+ export CXXFLAGS="-O2 -pipe"
+
+ [ $NOEXTRACT -eq 1 ] || rm -rf build
+ mkdir build
+ cd build
+
+ [ $NOEXTRACT -eq 1 ] || ../configure --prefix=/usr \
+ --target=${_cross} \
+ --host=${CHOST} \
+ --build=${CHOST} \
+ --enable-shared --disable-nls --enable-languages=c --enable-multilib \
+ --with-local-prefix=/usr/lib/${_cross} \
+ --with-as=/usr/bin/${_cross}-as --with-ld=/usr/bin/${_cross}-ld \
+ --with-sysroot=/usr/$CHOST/${_cross}
+
+ make all-gcc all-target-libgcc
+}
+
+package() {
+ cd $srcdir/gcc-$pkgver/build
+
+ export CFLAGS="-O2 -pipe"
+ export CXXFLAGS="-O2 -pipe"
+
+ make DESTDIR=$pkgdir install-gcc install-target-libgcc
+
+ rm -f $pkgdir/usr/share/man/man7/fsf-funding.7*
+ rm -f $pkgdir/usr/share/man/man7/gfdl.7*
+ rm -f $pkgdir/usr/share/man/man7/gpl.7*
+ rm -rf $pkgdir/usr/share/info
+
+ cp -r $pkgdir/usr/libexec/* $pkgdir/usr/lib/
+ rm -rf $pkgdir/usr/libexec
+
+ # strip it manually
+ strip $pkgdir/usr/bin/* 2>/dev/null || true
+ find $pkgdir/usr/lib -type f -exec ${_cross}-strip {} \; 2>/dev/null || true
+}
diff --git a/~fauno/notmuch/PKGBUILD b/~fauno/notmuch/PKGBUILD
index e965ea15f..9b02b0919 100644
--- a/~fauno/notmuch/PKGBUILD
+++ b/~fauno/notmuch/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Richard Murri <admin@richardmurri.com>
pkgname=notmuch
-pkgver=0.11
+pkgver=0.11_rc3
pkgrel=1
pkgdesc="Notmuch is not much of an email program"
arch=(i686 x86_64 mips64el)
@@ -16,10 +16,13 @@ optdepends=('emacs: for using the emacs interface'
'python2: for using the python bindings'
'ruby: for using the ruby bindings'
'gnupg: for email encryption')
-source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz")
+_commit='310608f279150c735b9fde89f2d632f3b41abd6c'
+source=(#"http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz"
+ "http://git.notmuchmail.org/git/notmuch/snapshot/${_commit}.tar.gz")
build() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
./configure --prefix=/usr --sysconfdir=/etc
make
@@ -30,12 +33,14 @@ build() {
}
check() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
make test
}
package(){
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install
install -D notmuch $pkgdir/usr/sbin/notmuch
@@ -46,7 +51,7 @@ package(){
# Install python bindings
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python"
+ cd $srcdir/${pkgname}-*/bindings/python
find "." -name '*.py' -print0 |xargs -0 \
sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
@@ -56,7 +61,8 @@ package(){
env LD_LIBRARY_PATH="." python2 setup.py install --prefix=/usr --root=$pkgdir
# Install ruby bindings
- cd "$srcdir/${pkgname}-${pkgver}/bindings/ruby"
+ cd $srcdir/${pkgname}-*/bindings/ruby
sed -i -e 's,/site_ruby,,g' Makefile
make prefix=${pkgdir}/usr install
}
+md5sums=('0383f55b5e800e626fd805919138c1b3')
diff --git a/~fauno/vala-notmuch/PKGBUILD b/~fauno/vala-notmuch/PKGBUILD
new file mode 100644
index 000000000..0e97683a4
--- /dev/null
+++ b/~fauno/vala-notmuch/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk
+
+pkgname=vala-notmuch
+pkgver=20120112
+pkgrel=1
+pkgdesc="a notmuch address book in vala"
+url="https://github.com/spaetz/vala-notmuch"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL2')
+makedepends=('vala')
+depends=('notmuch')
+install=vala-notmuch.install
+source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+
+ ./make
+
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -D -m755 src/addrlookup ${pkgdir}/usr/bin/addrlookup
+
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('99e264c0cb36e0a0f18048fb2ebd07e0')
+md5sums=('ca73980225368309119cf17ff5b3f3c4')
diff --git a/~fauno/vala-notmuch/SRCBUILD b/~fauno/vala-notmuch/SRCBUILD
new file mode 100644
index 000000000..89b6c67ba
--- /dev/null
+++ b/~fauno/vala-notmuch/SRCBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk
+
+pkgname=vala-notmuch
+pkgver=20120112
+pkgrel=1
+pkgdesc="A notmuch address book in vala"
+url="https://github.com/spaetz/vala-notmuch"
+arch=('any')
+license=('GPL2')
+makedepends=('git')
+
+_gitroot="https://github.com/spaetz/vala-notmuch.git"
+_gitname="${pkgname}"
+
+build() {
+ cd "$srcdir"
+ msg 'Connecting to GIT server...'
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname; git pull origin
+ msg 'The local files are updated.'
+ else
+ git clone $_gitroot $_gitname
+ fi
+
+ msg "GIT checkout done or server timeout"
+
+}
+
+package() {
+ cd ${pkgdir}
+ export PKGDEST=${SRCDEST}
+ export PKGEXT=.src.tar.xz
+
+ git clone ${srcdir}/${pkgname} ${pkgname}-${pkgver}
+
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~fauno/vala-notmuch/vala-notmuch.install b/~fauno/vala-notmuch/vala-notmuch.install
new file mode 100644
index 000000000..d1ce89da6
--- /dev/null
+++ b/~fauno/vala-notmuch/vala-notmuch.install
@@ -0,0 +1,6 @@
+post_install() {
+echo "To use within emacs, add the following to your .emacs:"
+echo "(require 'notmuch-address)"
+echo "(setq notmuch-address-command "/usr/bin/addrlookup")"
+echo "(notmuch-address-message-insinuate)"
+}