diff options
39 files changed, 1306 insertions, 35 deletions
diff --git a/community/filezilla/PKGBUILD b/community/filezilla/PKGBUILD index b9d467799..d81c7e6f8 100644 --- a/community/filezilla/PKGBUILD +++ b/community/filezilla/PKGBUILD @@ -1,21 +1,24 @@ -# $Id: PKGBUILD 54980 2011-08-29 11:06:13Z bluewind $ +# $Id: PKGBUILD 55926 2011-09-25 10:42:49Z bluewind $ # Contributor: Alexander Fehr <pizzapunk gmail com> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=filezilla pkgver=3.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="Fast and reliable FTP, FTPS and SFTP client" arch=('i686' 'x86_64') url="http://filezilla-project.org/" license=('GPL') depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite3') install=filezilla.install -source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2") -md5sums=('8afb7aee4ba72b6363dcfe469bc7fbef') +source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2" +gnutls-3.patch) +md5sums=('8afb7aee4ba72b6363dcfe469bc7fbef' +'0646cf7d6f90766961724102cf2cebd6') build() { - cd ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" + patch -p1 -i "$srcdir/gnutls-3.patch" ./autogen.sh ./configure \ --prefix=/usr \ @@ -28,7 +31,7 @@ build() { } package() { - cd ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" - make DESTDIR=${pkgdir} install + make DESTDIR="${pkgdir}" install } diff --git a/community/filezilla/gnutls-3.patch b/community/filezilla/gnutls-3.patch new file mode 100644 index 000000000..88e4ac9e7 --- /dev/null +++ b/community/filezilla/gnutls-3.patch @@ -0,0 +1,27 @@ +Fix FS#25669 + +Upstream bug: http://trac.filezilla-project.org/ticket/7742 + +diff --git a/src/engine/tlssocket.cpp b/src/engine/tlssocket.cpp +index e9a5105..7ddb1ae 100644 +--- a/src/engine/tlssocket.cpp ++++ b/src/engine/tlssocket.cpp +@@ -97,7 +97,7 @@ bool CTlsSocket::Init() + return false; + } + +- res = gnutls_priority_set_direct(m_session, "SECURE256:+CTYPE-X509:-CTYPE-OPENPGP", 0); ++ res = gnutls_priority_set_direct(m_session, "NORMAL:+CTYPE-X509:-CTYPE-OPENPGP", 0); + if (res) + { + LogError(res); +@@ -113,7 +113,9 @@ bool CTlsSocket::Init() + gnutls_transport_set_push_function(m_session, PushFunction); + gnutls_transport_set_pull_function(m_session, PullFunction); + gnutls_transport_set_ptr(m_session, (gnutls_transport_ptr_t)this); ++#if GNUTLS_VERSION_MAJOR < 3 + gnutls_transport_set_lowat(m_session, 0); ++#endif + + m_shutdown_requested = false; + diff --git a/community/terminator/PKGBUILD b/community/terminator/PKGBUILD index 3a0b50d10..eaacd67d3 100644 --- a/community/terminator/PKGBUILD +++ b/community/terminator/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 39486 2011-02-10 18:34:49Z ibiru $ +# $Id: PKGBUILD 55930 2011-09-25 18:21:36Z guillaume $ # Contributor: Allan McRae <allan@archlinux.org> # Contributor: fancris3 <fancris3 at gmail.com> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=terminator -pkgver=0.95 -pkgrel=4 +pkgver=0.96 +pkgrel=1 pkgdesc='an application that provides lots of terminals in a single window' arch=('i686' 'x86_64') url='http://www.tenshu.net/terminator/' @@ -14,7 +14,7 @@ depends=('vte' 'pygtk' 'xdg-utils') makedepends=('desktop-file-utils' 'gettext' 'intltool') install=terminator.install source=("https://launchpad.net/terminator/trunk/${pkgver}/+download/${pkgname}_${pkgver}.tar.gz") -md5sums=('ceae5c899c71b9c80e48083c17a631ad') +md5sums=('070e3878336b341c9e18339d89ba64fe') build() { cd ${pkgname}-${pkgver} diff --git a/core/bzip2/PKGBUILD b/core/bzip2/PKGBUILD index 26634ee4a..dfd22798f 100644 --- a/core/bzip2/PKGBUILD +++ b/core/bzip2/PKGBUILD @@ -1,21 +1,23 @@ -# $Id: PKGBUILD 91051 2010-09-21 12:28:55Z ibiru $ +# $Id: PKGBUILD 138504 2011-09-25 17:23:16Z dan $ # Maintainer: # Contributor: Judd <jvinet@zeroflux.org> pkgname=bzip2 pkgver=1.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="A high-quality data compression program" arch=('i686' 'x86_64') license=('custom') url="http://sources.redhat.com/bzip2" groups=('base') depends=('glibc') -source=(http://www.bzip.org/$pkgver/bzip2-$pkgver.tar.gz) -md5sums=('00b516f4704d4a7cb50a1d97e6e8e15b') +source=(http://www.bzip.org/$pkgver/bzip2-$pkgver.tar.gz + bzip2-1.0.4-bzip2recover.patch) +md5sums=('00b516f4704d4a7cb50a1d97e6e8e15b' + '8a8bca02bdeaf2fd8913aeb549577e7e') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" # add large-file support sed -e 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' -i ./Makefile-libbz2_so @@ -24,8 +26,19 @@ build() { sed -i "s|-O2|${CFLAGS}|g" Makefile sed -i "s|-O2|${CFLAGS}|g" Makefile-libbz2_so + patch -Np1 < ../bzip2-1.0.4-bzip2recover.patch + make -f Makefile-libbz2_so - make bzip2recover libbz2.a + make bzip2 bzip2recover libbz2.a +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make test +} + +package() { + cd "$srcdir/$pkgname-$pkgver" install -dm755 $pkgdir/bin install -m755 bzip2-shared $pkgdir/bin/bzip2 @@ -54,4 +67,3 @@ build() { install -Dm644 $srcdir/${pkgname}-${pkgver}/LICENSE \ $pkgdir/usr/share/licenses/${pkgname}/LICENSE } - diff --git a/core/bzip2/bzip2-1.0.4-bzip2recover.patch b/core/bzip2/bzip2-1.0.4-bzip2recover.patch new file mode 100644 index 000000000..e2bfe1cc1 --- /dev/null +++ b/core/bzip2/bzip2-1.0.4-bzip2recover.patch @@ -0,0 +1,12 @@ +--- bzip2-1.0.4/bzip2recover.c.pom 2007-01-03 03:00:55.000000000 +0100 ++++ bzip2-1.0.4/bzip2recover.c 2007-02-05 11:55:17.000000000 +0100 +@@ -309,7 +309,8 @@ + UInt32 buffHi, buffLo, blockCRC; + Char* p; + +- strcpy ( progName, argv[0] ); ++ strncpy ( progName, argv[0], BZ_MAX_FILENAME-1); ++ progName[BZ_MAX_FILENAME-1]='\0'; + inFileName[0] = outFileName[0] = 0; + + fprintf ( stderr, diff --git a/extra/libreoffice/PKGBUILD b/extra/libreoffice/PKGBUILD index 9898d443e..92f5cb6d6 100644 --- a/extra/libreoffice/PKGBUILD +++ b/extra/libreoffice/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 136687 2011-08-31 14:13:29Z andyrtr $ +# $Id: PKGBUILD 138502 2011-09-25 14:55:46Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> pkgbase="libreoffice" @@ -37,7 +37,7 @@ pkgname=('libreoffice-common' 'libreoffice-extension-wiki-publisher') _LOver=3.4.3.2 pkgver=3.4.3 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') #_LO_tree="3.4" _OFFICEUPD="340" @@ -47,14 +47,14 @@ makedepends=( # makedepends 'sane' 'perl-archive-zip' 'zip' 'unzip' 'xulrunner' 'unixodbc' 'hsqldb-java' #'boost' - we use internal one for now that has some gcc4.6 fixes. 'apache-ant' 'gperf' 'poppler' 'kdelibs' 'gconf' 'cppunit' #'libmysqlclient' 'beanshell' 'vigra' 'libldap' 'lucene' 'libmythes' 'junit' 'libwpg' 'imagemagick' - 'mesa' 'gstreamer0.10-base' 'java-runtime' + 'mesa' 'gstreamer0.10-base' 'java-environment' #'saxon' - currently broken # the depends from libreoffice main pkg "curl>=7.20.0" "hunspell>=1.2.8" "python2>=2.7" 'libwpd>=0.9.2' 'libwps' 'libxaw' "neon>=0.28.6" 'pango' 'nspr' 'libjpeg' 'libxrandr' 'libgl' 'dbus-glib' "icu>=4.6" 'libxslt' 'redland' 'hyphen' 'lpsolve' 'gcc-libs' 'sh' 'libtextcat' #'libgraphite' 'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info' 'gtk2' # keep gtk2 for install script - 'ttf-dejavu') # to satisfy regression tests + 'ttf-dejavu') # to satisfy regression tests # translate-toolkit - todo move them to extra to allow --with-system-foo builds # http://download.documentfoundation.org/mirrors/all.html # http://wiki.documentfoundation.org/Mirrors @@ -211,7 +211,7 @@ md5sums=('7c2e73f1197d169519f86efe422e5df9' build() { unset J2REDIR; unset J2SDKDIR; unset JAVA_HOME; unset CLASSPATH; unset EXTRAOPTS - [ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh + [ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh || . /etc/profile.d/jdk7-openjdk.sh [ -z "${MOZ_PLUGIN_PATH}" ] && . /etc/profile.d/mozilla-common.sh [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh @@ -343,6 +343,7 @@ build() { --with-system-lucene\ --with-lucene-core-jar=/usr/share/java/lucene-core.jar\ --with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar\ + --with-java-target-version=1.5 \ $EXTRAOPTS || return 1 #--enable-split-opt-features Split file lists for some optional features, .e.g. pyuno, testtool diff --git a/extra/vigra/PKGBUILD b/extra/vigra/PKGBUILD index b981b5987..ded6f2b6e 100644 --- a/extra/vigra/PKGBUILD +++ b/extra/vigra/PKGBUILD @@ -1,26 +1,28 @@ -# $Id: PKGBUILD 131034 2011-07-09 20:09:27Z andyrtr $ +# $Id: PKGBUILD 138500 2011-09-25 14:55:34Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> -pkgname=vigra -pkgver=1.7.1 -pkgrel=3 -pkgdesc="Computer vision library" +pkgbase=vigra +pkgname=('vigra' 'vigra-doc') +pkgver=1.8.0 +pkgrel=1 arch=('i686' 'x86_64') url="http://hci.iwr.uni-heidelberg.de/vigra/" license=('custom:MIT') -depends=('libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw') -makedepends=('cmake' 'python-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy') -optdepends=('python2: for python bindings' - 'boost-libs: for python bindings') +makedepends=(# runtime deps + 'libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw' + # additional makedeps + 'cmake' 'python-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy') options=('!libtool') source=(http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${pkgname}-${pkgver}-src.tar.gz vigra-1.7.1.gcc460.patch) -md5sums=('2bde208e0fd7626770169dd4fa097282' +md5sums=('15c5544448e529ee60020758ab6be264' '25ef8bc26bc38ee67e5b512d2acd0166') +sha1sums=('09f1d506c2748ebeb7d9f1c77ce387f9e7b837d2' + '1de6381a74dd136ea25df5a27f249187b0dbd17e') build() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgbase}-${pkgver} patch -Np1 -i ${srcdir}/vigra-1.7.1.gcc460.patch cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_VIGRANUMPY=1 \ @@ -28,9 +30,36 @@ build() { make } -package() { +check() { cd "${srcdir}"/${pkgname}-${pkgver} + make -k check || /bin/true # i686 fails +} + +package_vigra() { + pkgdesc="Computer vision library" + depends=('libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw') + optdepends=('python2: for python bindings' + 'boost-libs: for python bindings') + + cd "${srcdir}"/${pkgbase}-${pkgver} make DESTDIR="${pkgdir}" install # license install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + + # remove doc + rm -rf "${pkgdir}"/usr/share/doc +} + +package_vigra-doc() { + pkgdesc="Computer vision library - documentation and examples" + #depends=('vigra') + #arch=('any') + + cd "${srcdir}"/${pkgbase}-${pkgver} + make DESTDIR="${pkgdir}" install + # cleanup + rm -rf "${pkgdir}"/usr/{bin,include,lib} + + # license + install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } diff --git a/libre/foomatic/PKGBUILD b/libre/foomatic/PKGBUILD new file mode 100644 index 000000000..c83ef667b --- /dev/null +++ b/libre/foomatic/PKGBUILD @@ -0,0 +1,94 @@ +# $Id: PKGBUILD 130674 2011-07-07 16:52:03Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgbase="foomatic" +pkgname=('foomatic-db' 'foomatic-filters-libre' 'foomatic-db-engine') +arch=('i686' 'x86_64') # needs to be changed in the subpackages when makepkg will support it +_snapdate=20110707 +_relver=4.0.7 +pkgver=${_relver}_${_snapdate} +pkgrel=1 +epoch=1 +makedepends=('cups>=1.4.7' 'perl' 'libxml2' 'enscript' 'perl' 'net-snmp' 'bash') +source=(http://www.linuxprinting.org/download/foomatic/$pkgbase-db-engine-${_relver}.tar.gz + http://www.linuxprinting.org/download/foomatic/$pkgbase-db-4.0-${_snapdate}.tar.gz + http://repo.parabolagnulinux.org/other/$pkgbase-filters-libre-${_relver}.tar.gz) +url="http://www.linuxprinting.org/foomatic.html" +options=('!emptydirs') +md5sums=('fcfa8eb9ce5494b81b58ae983fc2aeb5' + '88d467d9099188b170185564bd33d7b7' + 'ffda5eb8ab36564e5b28190e6c5406b2') + +mksource() { + if [ ! -d ${pkgbase}-filters-libre-${_relver}/ ]; then + wget -O - http://www.linuxprinting.org/download/foomatic/$pkgbase-filters-${_relver}.tar.gz | \ + bsdtar xzf - + + mv ${pkgbase}-filters{,-libre}-${_relver}/ + fi + + rm -rfv ${pkgbase}-filters-libre-${_relver}/test/{lsbfuncs,shfuncs,tcm,tetapi}.sh + bsdtar cvzf ${pkgbase}-filters-libre-${_relver}.tar.gz ${pkgbase}-filters-libre-${_relver}/ +} + +build() { + /bin/true +} + +package_foomatic-db() { + + pkgdesc="Foomatic - The collected knowledge about printers, drivers, and driver options in XML files, used by foomatic-db-engine to generate PPD files." +# arch=('any') + license=('GPL' 'custom') + depends=('perl' 'libxml2') + replaces=('foomatic-db-ppd' 'foomatic-db-hpijs') + conflicts=('foomatic-db-ppd' 'foomatic-db-hpijs') + provides=('foomatic-db-hpijs') + + cd ${srcdir}/${pkgname}-${_snapdate} + ./configure --prefix=/usr + make DESTDIR=${pkgdir} install + install -v -Dm644 ${srcdir}/${pkgname}-${_snapdate}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} + +package_foomatic-filters-libre() { + + pkgdesc="Foomatic - Filter scripts used by the printer spoolers to convert the incoming PostScript data into the printer's native format." +# arch=('i686' 'x86_64') + license=('GPL') + backup=(etc/foomatic/filter.conf) + depends=('glibc') + provides=("foomatic-filters=${pkgver}") + replaces=('foomatic-filters') + conflicts=('foomatic-filters') + optdepends=('perl: for the "beh" Backend End Handler used by cups' + 'net-snmp: certain (mostly HP) printers need it to work') + +# cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/foomatic-filters-libre-${_relver} + ./configure --prefix=/usr --sysconfdir=/etc + make + make DESTDIR=${pkgdir} install +} + +package_foomatic-db-engine() { + + pkgdesc="Foomatic - Foomatic's database engine generates PPD files from the data in Foomatic's XML database. It also contains scripts to directly generate print queues and handle jobs." +# arch=(i686 x86_64) + license=('GPL') + depends=('perl' 'libxml2' 'foomatic-filters' 'bash') + +# cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/foomatic-db-engine-${_relver} + ./configure --prefix=/usr + make + eval `perl -V:archname` + make DESTDIR=${pkgdir} \ + INSTALLARCHLIB=/usr/lib/perl5/vendor_perl/ \ + INSTALLSITELIB=/usr/lib/perl5/vendor_perl/ \ + INSTALLSITEARCH=/usr/lib/perl5/vendor_perl/ install + /usr/bin/find ${pkgdir} -name '.packlist' -delete + # fix permissions + chmod 755 ${pkgdir}/usr/lib{,/perl5,/perl5/vendor_perl} +} + diff --git a/testing/curl/PKGBUILD b/testing/curl/PKGBUILD new file mode 100644 index 000000000..03214f302 --- /dev/null +++ b/testing/curl/PKGBUILD @@ -0,0 +1,69 @@ +# $Id: PKGBUILD 138498 2011-09-25 14:51:49Z dreisner $ +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Contributor: Angel Velasquez <angvp@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=curl +pkgver=7.22.0 +pkgrel=2 +pkgdesc="An URL retrival utility and library" +arch=('i686' 'x86_64') +url="http://curl.haxx.se" +license=('MIT') +depends=('libssh2' 'openssl' 'zlib') +makedepends=('perl-libwww') +options=('!libtool') +source=("http://curl.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc} + curlbuild.h) +md5sums=('e8c36126d21c893f085aca233906b5cc' + '1b061c348b63ea3e90c3f2c3af6a08d6' + '751bd433ede935c8fae727377625a8ae') + +ptrsize=$(cpp <<<'__SIZEOF_POINTER__' | sed '/^#/d') +case $ptrsize in + 8) _curlbuild=curlbuild-64.h ;; + 4) _curlbuild=curlbuild-32.h ;; + *) error "unknown pointer size for architecture: %s bytes" "$ptrsize" + exit 1 + ;; +esac + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-dependency-tracking \ + --disable-ldap \ + --disable-ldaps \ + --enable-ipv6 \ + --enable-manual \ + --enable-versioned-symbols \ + --enable-threaded-resolver \ + --without-libidn \ + --with-random=/dev/urandom \ + --with-ca-bundle=/etc/ssl/certs/ca-bundle.crt + make + + perl lib/mk-ca-bundle.pl +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + # license + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + # cert bundle + install -Dm644 ca-bundle.crt "$pkgdir/etc/ssl/certs/ca-bundle.crt" + + # devel + install -Dm644 docs/libcurl/libcurl.m4 "$pkgdir/usr/share/aclocal/libcurl.m4" + mv "$pkgdir/usr/include/curl/curlbuild.h" "$pkgdir/usr/include/curl/$_curlbuild" + install -m644 "$srcdir/curlbuild.h" "$pkgdir/usr/include/curl/curlbuild.h" +} diff --git a/testing/curl/curlbuild.h b/testing/curl/curlbuild.h new file mode 100644 index 000000000..b48862696 --- /dev/null +++ b/testing/curl/curlbuild.h @@ -0,0 +1,9 @@ +#include <bits/wordsize.h> + +#if __WORDSIZE == 32 +#include "curlbuild-32.h" +#elif __WORDSIZE == 64 +#include "curlbuild-64.h" +#else +#error "Unknown word size" +#endif diff --git a/~fauno/bibutils-dynamic/PKGBUILD b/~fauno/bibutils-dynamic/PKGBUILD new file mode 100644 index 000000000..cc8f371a6 --- /dev/null +++ b/~fauno/bibutils-dynamic/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) us> + +pkgname=bibutils-dynamic +_basename=bibutils +pkgver=4.12 +pkgrel=1 +pkgdesc="Bibliography conversion tools, with dynamic libs" +arch=("i686" "x86_64") +url="http://www.scripps.edu/~cdputnam/software/bibutils" +license=('GPL2') +makedepends=('tcsh') +provides=('bibutils') +source=("${url}/${_basename}_${pkgver}_src.tgz") +md5sums=('395f46393eca8e184652c5e8e1ae83b6') + +build() { + cd "${srcdir}/${_basename}_$pkgver" + ./configure --dynamic \ + --install-dir ${pkgdir}/usr/bin \ + --install-lib ${pkgdir}/usr/lib + make +} + +package() { + install -d ${pkgdir}/usr/{bin,lib} + cd "${srcdir}/${_basename}_$pkgver" + make install +} + +# vim:set ts=2 sw=2 et: diff --git a/~fauno/emerillon/PKGBUILD b/~fauno/emerillon/PKGBUILD new file mode 100644 index 000000000..621ed04bb --- /dev/null +++ b/~fauno/emerillon/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org> +# Contributor: yannsen <ynnsen@gmail.com> +pkgname=emerillon +arch=('i686' 'x86_64') +pkgver=0.1.90 +pkgrel=2 +pkgdesc="OpenStreetMap viewer" +url="http://projects.gnome.org/emerillon/" +license=('GPL2') +depends=('libpeas' 'geoclue' 'libsoup-gnome' 'libchamplain>=0.12.0' 'librest' 'ethos') +makedepends=('intltool' 'gnome-common' 'vala' 'gtk-doc') +options=(!libtool) +install=${pkgname}.install +source=(http://download.gnome.org/sources/emerillon/0.1/${pkgname}-${pkgver}.tar.xz) +md5sums=('d740ee4d5fcd7b39fde15e75b4ee7a3a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=$pkgdir install +} diff --git a/~fauno/emerillon/emerillon.install b/~fauno/emerillon/emerillon.install new file mode 100644 index 000000000..77c7018ea --- /dev/null +++ b/~fauno/emerillon/emerillon.install @@ -0,0 +1,12 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + diff --git a/~fauno/ethos/PKGBUILD b/~fauno/ethos/PKGBUILD new file mode 100644 index 000000000..f05c8fa8b --- /dev/null +++ b/~fauno/ethos/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: yannsen <ynnsen@gmail.com> +pkgname=ethos +pkgver=0.2.2 +pkgrel=6 +arch=('i686' 'x86_64') +pkgdesc="Plugin framework for GLib" +url="http://git.dronelabs.com/ethos/about/" +license="LGPL" +depends=(python2 gtk2) +makedepends=(intltool pygtk) +source=(http://ftp.dronelabs.com/sources/$pkgname/0.2/$pkgname-$pkgver.tar.gz) +md5sums=('36cf1ef444a224556bba4d441c400300') +options=(!libtool) + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/~fauno/geoclue/PKGBUILD b/~fauno/geoclue/PKGBUILD new file mode 100644 index 000000000..e370197c7 --- /dev/null +++ b/~fauno/geoclue/PKGBUILD @@ -0,0 +1,28 @@ +# mAINTAIner: Isaac Dupree <id@isaac.cedarswampstudios.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Kurama <kurama_luka@yahoo.it> + +pkgname=geoclue +pkgver=0.12 +pkgrel=2 +pkgdesc="Modular geoinformation service built on the D-Bus messaging system." +arch=('i686' 'x86_64') +url="http://geoclue.freedesktop.org" +license=('LGPL') +depends=('gconf') +makedepends=('gtk-doc' 'libtool') +source=(http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} +# unset LDFLAGS + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib + find -name 'Makefile' -print0 | xargs -0 sed -i "s/-Werror //" + make +} + +package(){ + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} +md5sums=('684e24d1ff3683953c968fed210b2982') diff --git a/~fauno/haskell-base64-bytestring/PKGBUILD b/~fauno/haskell-base64-bytestring/PKGBUILD new file mode 100644 index 000000000..9943e7e15 --- /dev/null +++ b/~fauno/haskell-base64-bytestring/PKGBUILD @@ -0,0 +1,45 @@ +# custom variables +_hkgname=base64-bytestring +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-base64-bytestring +pkgver=0.1.0.3 +pkgrel=1 +pkgdesc="Fast base64 encoding and deconding for ByteStrings" +url="https://github.com/bos/base64-bytestring" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("a3d76d27f2271c603990d909fed0a4f175628e9c6e19427cc8387dd4c2429234") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install new file mode 100644 index 000000000..55a35b6d2 --- /dev/null +++ b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-base64-bytestring +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-citeproc-hs/PKGBUILD b/~fauno/haskell-citeproc-hs/PKGBUILD new file mode 100644 index 000000000..32f06094b --- /dev/null +++ b/~fauno/haskell-citeproc-hs/PKGBUILD @@ -0,0 +1,60 @@ +# custom variables +_hkgname=citeproc-hs +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-citeproc-hs +pkgver=0.3.3 +pkgrel=1 +pkgdesc="A Citation Style Language implementation in Haskell" +url="http://gorgias.mine.nu/repos/citeproc-hs/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-http=4000.1.1" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-directory=1.1.0.0" + "haskell-filepath=1.2.0.0" + "haskell-hs-bibutils=4.12" + "haskell-json=0.4.4" + "haskell-mtl=2.0.1.0" + "haskell-network=2.3.0.2" + "haskell-old-locale=1.0.0.2" + "haskell-pandoc-types=1.8.2" + "haskell-parsec=3.1.1" + "haskell-syb=0.3" + "haskell-time=1.2.0.3" + "haskell-utf8-string=0.3.6" + "haskell-xml=1.3.9") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("249bc0ec589fc79b098867502732c3c47ce032ad32f82d3280c1ca9373c71f7a") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install new file mode 100644 index 000000000..6bf4872f1 --- /dev/null +++ b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-citeproc-hs +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-digest/PKGBUILD b/~fauno/haskell-digest/PKGBUILD new file mode 100644 index 000000000..724a600af --- /dev/null +++ b/~fauno/haskell-digest/PKGBUILD @@ -0,0 +1,46 @@ +# custom variables +_hkgname=digest +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-digest +pkgver=0.0.1.0 +pkgrel=1 +pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now." +url="http://hackage.haskell.org/package/${_hkgname}" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10" + "zlib") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("40319762afc05823920126f13cba02b06544ba039e08c3f63db2ed084a9a4edc") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-digest/haskell-digest.install b/~fauno/haskell-digest/haskell-digest.install new file mode 100644 index 000000000..7aa8e0003 --- /dev/null +++ b/~fauno/haskell-digest/haskell-digest.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-digest +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-dlist/PKGBUILD b/~fauno/haskell-dlist/PKGBUILD new file mode 100644 index 000000000..6b68c97c3 --- /dev/null +++ b/~fauno/haskell-dlist/PKGBUILD @@ -0,0 +1,43 @@ +# custom variables +_hkgname=dlist +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-dlist +pkgver=0.5 +pkgrel=18 +pkgdesc="Differences lists" +url="http://code.haskell.org/~dons/code/dlist/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" "sh") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("4780e5409eff55bbfdd7470ef802a087a04048c9cd5efe0482c82878292f19ea") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-dlist/haskell-dlist.install b/~fauno/haskell-dlist/haskell-dlist.install new file mode 100644 index 000000000..f20fb2952 --- /dev/null +++ b/~fauno/haskell-dlist/haskell-dlist.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-dlist +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-hs-bibutils/PKGBUILD b/~fauno/haskell-hs-bibutils/PKGBUILD new file mode 100644 index 000000000..46816e9c2 --- /dev/null +++ b/~fauno/haskell-hs-bibutils/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Ivy Foster <joyfulgirl (at) archlinux (dot) # us> +# Contributor: Alexander Dunlap <alexander.dunlap at gmail # dot com> + +_hkgname=hs-bibutils +pkgname=haskell-hs-bibutils +pkgver=4.12 +pkgrel=4 +pkgdesc="Haskell bindings to bibutils, the bibliography conversion utilities." +url="http://hackage.haskell.org/package/${_hkgname}" +license=('GPL') +arch=('i686' 'x86_64') +makedepends=() +depends=('ghc' 'haskell-syb=0.3' 'bibutils-dynamic') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('4c4647b34246a4d35f1d1cfb10e6720a') + +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure -O \ + --enable-split-objs \ + --enable-shared \ + --prefix=/usr \ + --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r \ + -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" \ + unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh \ + ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh \ + ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 \ + ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html \ + ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} +} diff --git a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install new file mode 100644 index 000000000..454c6ff37 --- /dev/null +++ b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hs-bibutils +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-json/PKGBUILD b/~fauno/haskell-json/PKGBUILD new file mode 100644 index 000000000..2a1da8a47 --- /dev/null +++ b/~fauno/haskell-json/PKGBUILD @@ -0,0 +1,51 @@ +# custom variables +_hkgname=json +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-json +pkgver=0.4.4 +pkgrel=18 +pkgdesc="Support for serialising Haskell to and from JSON" +url="http://hackage.haskell.org/package/${_hkgname}" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-array=0.3.0.2" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-mtl=2.0.1.0" + "haskell-parsec=3.1.1" + "haskell-pretty=1.0.1.2" + "haskell-syb=0.3") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("010157c267e156489771a3a9466f9de74393d9bc82053c1463af8a55caaf5880") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-json/haskell-json.install b/~fauno/haskell-json/haskell-json.install new file mode 100644 index 000000000..10d6b7279 --- /dev/null +++ b/~fauno/haskell-json/haskell-json.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-json +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-pandoc-types/PKGBUILD b/~fauno/haskell-pandoc-types/PKGBUILD new file mode 100644 index 000000000..954514ebe --- /dev/null +++ b/~fauno/haskell-pandoc-types/PKGBUILD @@ -0,0 +1,46 @@ +# custom variables +_hkgname=pandoc-types +_licensefile=COPYING + +# PKGBUILD options/directives +pkgname=haskell-pandoc-types +pkgver=1.8.2 +pkgrel=1 +pkgdesc="Types for representing a structured document" +url="http://johnmacfarlane.net/pandoc" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-containers=0.4.0.0" + "haskell-syb=0.3") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("6a580be1ec25a747db2ee9df1c98b1f3a778493b98e5148bf8ce5ed1289e9013") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install new file mode 100644 index 000000000..34622807c --- /dev/null +++ b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-pandoc-types +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-tagsoup/PKGBUILD b/~fauno/haskell-tagsoup/PKGBUILD new file mode 100644 index 000000000..0de1f165b --- /dev/null +++ b/~fauno/haskell-tagsoup/PKGBUILD @@ -0,0 +1,47 @@ +# custom variables +_hkgname=tagsoup +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-tagsoup +pkgver=0.12.3 +pkgrel=1 +pkgdesc="Parsing and extracting information from (possibly malformed) HTML/XML documents" +url="http://community.haskell.org/~ndm/tagsoup/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-text=0.11.0.5") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("8bed50b3958a794422563ad93d82fb6d4e806d1884623f35f454ff360d9b8138") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-tagsoup/haskell-tagsoup.install b/~fauno/haskell-tagsoup/haskell-tagsoup.install new file mode 100644 index 000000000..dc61b4049 --- /dev/null +++ b/~fauno/haskell-tagsoup/haskell-tagsoup.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-tagsoup +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-texmath/PKGBUILD b/~fauno/haskell-texmath/PKGBUILD new file mode 100644 index 000000000..95e88912a --- /dev/null +++ b/~fauno/haskell-texmath/PKGBUILD @@ -0,0 +1,48 @@ +# custom variables +_hkgname=texmath +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-texmath +pkgver=0.5.0.1 +pkgrel=19 +pkgdesc="Conversion of LaTeX math formulas to MathML." +url="http://github.com/jgm/texmath" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-containers=0.4.0.0" + "haskell-parsec=3.1.1" + "haskell-syb=0.3" + "haskell-xml=1.3.9") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-texmath/haskell-texmath.install b/~fauno/haskell-texmath/haskell-texmath.install new file mode 100644 index 000000000..b95fd0d9f --- /dev/null +++ b/~fauno/haskell-texmath/haskell-texmath.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-texmath +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-xml/PKGBUILD b/~fauno/haskell-xml/PKGBUILD new file mode 100644 index 000000000..fc42941b3 --- /dev/null +++ b/~fauno/haskell-xml/PKGBUILD @@ -0,0 +1,45 @@ +# custom variables +_hkgname=xml +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-xml +pkgver=1.3.9 +pkgrel=1 +pkgdesc="A simple XML library." +url="http://code.galois.com" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("821b368d5b06e695f9a3d35e92b3159c500dbe03f0bc04b0229e5da65b99a6eb") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-xml/haskell-xml.install b/~fauno/haskell-xml/haskell-xml.install new file mode 100644 index 000000000..741ef9ee0 --- /dev/null +++ b/~fauno/haskell-xml/haskell-xml.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-xml +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/haskell-zip-archive/PKGBUILD b/~fauno/haskell-zip-archive/PKGBUILD new file mode 100644 index 000000000..ace343317 --- /dev/null +++ b/~fauno/haskell-zip-archive/PKGBUILD @@ -0,0 +1,57 @@ +# custom variables +_hkgname=zip-archive +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-zip-archive +pkgver=0.1.1.7 +pkgrel=18 +pkgdesc="Library for creating and modifying zip archives." +url="http://github.com/jgm/zip-archive" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-array=0.3.0.2" + "haskell-binary=0.5.0.2" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-digest=0.0.0.9" + "haskell-directory=1.1.0.0" + "haskell-filepath=1.2.0.0" + "haskell-mtl=2.0.1.0" + "haskell-old-time=1.0.0.6" + "haskell-pretty=1.0.1.2" + "haskell-unix=2.4.2.0" + "haskell-utf8-string=0.3.6" + "haskell-zlib=0.5.3.1") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("88c096d469d8b4d816dbe15571f2c1e61e31c1cd67f931672240063a51d8a2e0") + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-zip-archive/haskell-zip-archive.install b/~fauno/haskell-zip-archive/haskell-zip-archive.install new file mode 100644 index 000000000..c19836db7 --- /dev/null +++ b/~fauno/haskell-zip-archive/haskell-zip-archive.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-zip-archive +HS_DIR=usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/~fauno/librest/PKGBUILD b/~fauno/librest/PKGBUILD new file mode 100644 index 000000000..a66c4559e --- /dev/null +++ b/~fauno/librest/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Berseker <berseker86 at gmail dot com> + +pkgname=librest +_realname=rest + +pkgver=0.7.10 +pkgrel=1 +pkgdesc="a library to access 'RESTful' web services" +arch=('i686' 'x86_64') +url="http://moblin.org/projects/librest/" +license=('GPL') +source=(http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/${_realname}-${pkgver}.tar.bz2) +options=('!libtool') +depends=('libsoup-gnome' 'libxml2') +makedepends=('gtk-doc') + +build() { + cd "$srcdir/${_realname}-${pkgver}" + + ./configure --prefix=/usr #--without-gnome + make +} + +package() { + cd "$srcdir/${_realname}-${pkgver}" + make DESTDIR="$pkgdir/" install +} +md5sums=('f47850d26bfb6148d1a3db9e74426e20') diff --git a/~fauno/pandoc/PKGBUILD b/~fauno/pandoc/PKGBUILD new file mode 100644 index 000000000..4d9a12809 --- /dev/null +++ b/~fauno/pandoc/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar> +# Based on haskell-pandoc +# custom variables +_hkgname=pandoc +_licensefile=COPYING + +# PKGBUILD options/directives +pkgname=pandoc +pkgver=1.8.2.1 +pkgrel=2 +pkgdesc='Conversion between markup formats (no Haskell libs)' +url='http://johnmacfarlane.net/pandoc' +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('ghc' 'sh' 'haskell-http' 'haskell-base64-bytestring' +'haskell-bytestring' 'haskell-citeproc-hs' 'haskell-containers' +'haskell-directory' 'haskell-dlist' 'haskell-extensible-exceptions' +'haskell-filepath' 'haskell-json' 'haskell-mtl' 'haskell-network' +'haskell-old-time' 'haskell-pandoc-types' 'haskell-parsec' 'haskell-process' +'haskell-random' 'haskell-syb' 'haskell-tagsoup' 'haskell-texmath' +'haskell-utf8-string' 'haskell-xhtml' 'haskell-xml' 'haskell-zip-archive') +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha256sums=('f1025377b2c78043b06d7963eb61ce66c2290d2580f2488a8186c82c24f09433') +conflicts=('haskell-pandoc') + +# PKGBUILD functions +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} + + msg2 "Removing Haskell libs" + rm -rvf ${pkgdir}/usr/lib +} |