diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/cabal-install/PKGBUILD | 4 | ||||
-rw-r--r-- | extra/ghc/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/gtk-qt-engine/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/haskell-http/PKGBUILD | 57 | ||||
-rw-r--r-- | extra/haskell-http/haskell-http.install | 33 | ||||
-rw-r--r-- | extra/haskell-mtl/PKGBUILD | 55 | ||||
-rw-r--r-- | extra/haskell-mtl/haskell-mtl.install | 33 | ||||
-rw-r--r-- | extra/haskell-network/PKGBUILD | 61 | ||||
-rw-r--r-- | extra/haskell-network/haskell-network.install | 33 | ||||
-rw-r--r-- | extra/haskell-parsec/PKGBUILD | 54 | ||||
-rw-r--r-- | extra/haskell-parsec/haskell-parsec.install | 33 | ||||
-rw-r--r-- | extra/haskell-random/PKGBUILD | 50 | ||||
-rw-r--r-- | extra/haskell-random/haskell-random.install | 33 | ||||
-rw-r--r-- | extra/haskell-text/PKGBUILD | 51 | ||||
-rw-r--r-- | extra/haskell-text/haskell-text.install | 33 | ||||
-rw-r--r-- | extra/haskell-transformers/PKGBUILD | 54 | ||||
-rw-r--r-- | extra/haskell-transformers/haskell-transformers.install | 33 | ||||
-rw-r--r-- | extra/haskell-zlib/PKGBUILD | 61 | ||||
-rw-r--r-- | extra/haskell-zlib/haskell-zlib.install | 33 | ||||
-rw-r--r-- | extra/libzip/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/live-media/PKGBUILD | 6 |
21 files changed, 479 insertions, 294 deletions
diff --git a/extra/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD index a79a7af4d..11149a80e 100644 --- a/extra/cabal-install/PKGBUILD +++ b/extra/cabal-install/PKGBUILD @@ -4,12 +4,12 @@ pkgname=cabal-install pkgver=1.16.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="The command-line interface for Cabal and Hackage." url="http://hackage.haskell.org/package/cabal-install" license=('custom:BSD3') arch=('i686' 'x86_64') -makedepends=('haskell-http=4000.2.7-1' 'haskell-zlib=0.5.4.0-1' 'haskell-mtl=2.1.2-2' 'haskell-network=2.4.1.0-1' 'haskell-random=1.0.1.1-4') +makedepends=('haskell-http=4000.2.8-1' 'haskell-zlib=0.5.4.1-1' 'haskell-mtl=2.1.2-3' 'haskell-network=2.4.1.2-1' 'haskell-random=1.0.1.1-5') depends=('ghc' 'gmp' 'zlib') source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz") md5sums=('18e07d5b431d19d94cc5279a5e6fbfee') diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD index 5b3c07416..3f5ba7f7c 100644 --- a/extra/ghc/PKGBUILD +++ b/extra/ghc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 177606 2013-02-08 04:14:31Z td123 $ +# $Id: PKGBUILD 183848 2013-04-28 16:50:01Z td123 $ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> # Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> # Special note for devs looking to upgrade this package: @@ -7,7 +7,7 @@ # This implies that all libraries need to be rebuilt when ghc is rebuilt. pkgname=ghc -pkgver=7.6.2 +pkgver=7.6.3 pkgrel=1 pkgdesc='The Glasgow Haskell Compiler' arch=('i686' 'x86_64') @@ -72,8 +72,8 @@ replaces=('haskell-array<0.4.0.1' source=("http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2" "http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2" 'build.mk') -md5sums=('2585d83e7d8daece2fe0949c6bc42a2c' - '8454aaeb4e226ddb66c237c15874a47f' +md5sums=('986d1f90ca30d60f7b2820d75c6b8ea7' + '66aa6177a31cc4b9d7eeb55cb1514918' 'c367ef26300648ee9b8aca3dee5c9669') build() { diff --git a/extra/gtk-qt-engine/PKGBUILD b/extra/gtk-qt-engine/PKGBUILD deleted file mode 100644 index 247195fa4..000000000 --- a/extra/gtk-qt-engine/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# $Id: PKGBUILD 143698 2011-11-28 13:17:55Z giovanni $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> -# Contributor: Jake VanderKolk <jakevanderkolk@gmail.com> - -pkgname=gtk-qt-engine -pkgver=1.1 -pkgrel=3 -pkgdesc="A GTK engine which makes your GTK2 Apps match your QT theme" -arch=('i686' 'x86_64') -license=('GPL') -url="http://code.google.com/p/gtk-qt-engine/" -depends=('libbonoboui' 'kdelibs') -makedepends=('cmake' 'automoc4' 'pkgconfig') -source=("http://gtk-qt-engine.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2") -md5sums=('de8048baef7dfe6c97cd97c463d66152') - -build() { - cd "${srcdir}/${pkgname}" - - cmake . -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ - -DCMAKE_INSTALL_PREFIX=/usr - make -} - -package() { - cd "${srcdir}/${pkgname}" - - make DESTDIR="${pkgdir}" install -} diff --git a/extra/haskell-http/PKGBUILD b/extra/haskell-http/PKGBUILD index c9f55ff80..621e10490 100644 --- a/extra/haskell-http/PKGBUILD +++ b/extra/haskell-http/PKGBUILD @@ -1,40 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> -# Package generated by cabal2arch 0.7.6 _hkgname=HTTP pkgname=haskell-http -pkgver=4000.2.7 +pkgver=4000.2.8 pkgrel=1 pkgdesc="A library for client-side HTTP" url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh' 'haskell-network=2.4.1.0-1' 'haskell-parsec=3.1.3-2' 'haskell-mtl=2.1.2-2') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +depends=('ghc=7.6.3-1' 'sh' 'haskell-network=2.4.1.2-1' 'haskell-parsec=3.1.3-3' 'haskell-mtl=2.1.2-3') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install -md5sums=('a9b6fbce9f0a1247b1f523c87987757d') +md5sums=('94be05278da4e9324aaef6e012e751e2') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-http/haskell-http.install b/extra/haskell-http/haskell-http.install index fdebb1cb8..0593ec4e2 100644 --- a/extra/haskell-http/haskell-http.install +++ b/extra/haskell-http/haskell-http.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-http -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-http + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-mtl/PKGBUILD b/extra/haskell-mtl/PKGBUILD index 5ce02ba17..c755c10a8 100644 --- a/extra/haskell-mtl/PKGBUILD +++ b/extra/haskell-mtl/PKGBUILD @@ -1,38 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> _hkgname=mtl pkgname=haskell-mtl pkgver=2.1.2 -pkgrel=2 -pkgdesc="Monad transformer library" +pkgrel=3 +pkgdesc="Monad classes, using functional dependencies" url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh' 'haskell-transformers=0.3.0.0-3') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz) +depends=('ghc=7.6.3-1' 'sh' 'haskell-transformers=0.3.0.0-4') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install md5sums=('943c110524d96126bfa0e61f7df1ebcd') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-mtl/haskell-mtl.install b/extra/haskell-mtl/haskell-mtl.install index 9325811e8..17c40da11 100644 --- a/extra/haskell-mtl/haskell-mtl.install +++ b/extra/haskell-mtl/haskell-mtl.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-mtl -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-mtl + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-network/PKGBUILD b/extra/haskell-network/PKGBUILD index 40816956a..70bbb8aa9 100644 --- a/extra/haskell-network/PKGBUILD +++ b/extra/haskell-network/PKGBUILD @@ -1,40 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> -# Package generated by cabal2arch 0.7.6 _hkgname=network pkgname=haskell-network -pkgver=2.4.1.0 +pkgver=2.4.1.2 pkgrel=1 -pkgdesc="Networking-related facilities" -url="http://hackage.haskell.org/package/network" +pkgdesc="Low-level networking interface" +url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh' 'haskell-parsec=3.1.3-2') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +depends=('ghc=7.6.3-1' 'sh' 'haskell-parsec=3.1.3-3') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install -md5sums=('45255ad17b04bb2d43c411ab41b727d5') +md5sums=('032075c35dea5d23923af3928f9a5511') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-network/haskell-network.install b/extra/haskell-network/haskell-network.install index a56c31d0a..e6177f643 100644 --- a/extra/haskell-network/haskell-network.install +++ b/extra/haskell-network/haskell-network.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-network -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-network + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-parsec/PKGBUILD b/extra/haskell-parsec/PKGBUILD index 854f31b08..02ae2aa0e 100644 --- a/extra/haskell-parsec/PKGBUILD +++ b/extra/haskell-parsec/PKGBUILD @@ -1,39 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> -# As generated by cabal2arch 0.7.6 _hkgname=parsec pkgname=haskell-parsec pkgver=3.1.3 -pkgrel=2 +pkgrel=3 pkgdesc="Monadic parser combinators" url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh' 'haskell-mtl=2.1.2-2' 'haskell-text=0.11.2.3-2') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +depends=('ghc=7.6.3-1' 'sh' 'haskell-mtl=2.1.2-3' 'haskell-text=0.11.2.3-3') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install md5sums=('d72fc94b81153132c61125a1ec52a4a5') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-parsec/haskell-parsec.install b/extra/haskell-parsec/haskell-parsec.install index dfa0701b9..25f4e6e9b 100644 --- a/extra/haskell-parsec/haskell-parsec.install +++ b/extra/haskell-parsec/haskell-parsec.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-parsec -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-parsec + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-random/PKGBUILD b/extra/haskell-random/PKGBUILD index 4bb275bec..649d2bd84 100644 --- a/extra/haskell-random/PKGBUILD +++ b/extra/haskell-random/PKGBUILD @@ -3,35 +3,47 @@ _hkgname=random pkgname=haskell-random pkgver=1.0.1.1 -pkgrel=4 -pkgdesc="A basic random number generation library" +pkgrel=5 +pkgdesc="random number library" url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh') +depends=('ghc=7.6.3-1' 'sh') source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install md5sums=('9a249cfa7ff6793cbf2be06e9fcd7538') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } diff --git a/extra/haskell-random/haskell-random.install b/extra/haskell-random/haskell-random.install index b6d807e1a..0dc80227b 100644 --- a/extra/haskell-random/haskell-random.install +++ b/extra/haskell-random/haskell-random.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-random -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-random + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-text/PKGBUILD b/extra/haskell-text/PKGBUILD index 8b6c78d9c..b50b41af4 100644 --- a/extra/haskell-text/PKGBUILD +++ b/extra/haskell-text/PKGBUILD @@ -1,38 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> _hkgname=text pkgname=haskell-text pkgver=0.11.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="An efficient packed Unicode text type." url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh') +depends=('ghc=7.6.3-1' 'sh') source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install md5sums=('7a469d49a7576fb3a18785cb64d4ee6c') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-text/haskell-text.install b/extra/haskell-text/haskell-text.install index 620db3921..44ef4244a 100644 --- a/extra/haskell-text/haskell-text.install +++ b/extra/haskell-text/haskell-text.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-text -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-text + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-transformers/PKGBUILD b/extra/haskell-transformers/PKGBUILD index d490b01bc..94006ab2d 100644 --- a/extra/haskell-transformers/PKGBUILD +++ b/extra/haskell-transformers/PKGBUILD @@ -1,39 +1,49 @@ -# $Id: PKGBUILD 177613 2013-02-08 04:14:37Z td123 $ - # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Contributor: Rémy Oudompheng <remy@archlinux.org> _hkgname=transformers pkgname=haskell-transformers pkgver=0.3.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="Concrete functor and monad transformers" url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'sh') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz") +depends=('ghc=7.6.3-1' 'sh') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install md5sums=('852dc0b79cc2bcb39136287d3dd385e5') 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-transformers/haskell-transformers.install b/extra/haskell-transformers/haskell-transformers.install index eec2af6e1..a59cd9850 100644 --- a/extra/haskell-transformers/haskell-transformers.install +++ b/extra/haskell-transformers/haskell-transformers.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-transformers -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-transformers + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/haskell-zlib/PKGBUILD b/extra/haskell-zlib/PKGBUILD index bcc1e7396..2c541b5f3 100644 --- a/extra/haskell-zlib/PKGBUILD +++ b/extra/haskell-zlib/PKGBUILD @@ -1,44 +1,49 @@ # Maintainer: Thomas Dziedzic <gostrc@gmail.com> -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> -# Package originally generated by cabal2arch 0.7.6 _hkgname=zlib pkgname=haskell-zlib -pkgver=0.5.4.0 +pkgver=0.5.4.1 pkgrel=1 pkgdesc="Compression and decompression in the gzip and zlib formats" -url="http://hackage.haskell.org/package/zlib" +url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.6.2-1' 'zlib' 'sh') +depends=('ghc=7.6.3-1' 'sh' 'zlib') source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") install=${pkgname}.install -md5sums=('eb5984b936a7c37a0cdaa357149176b2') +md5sums=('d0d10786d2bbd1d401a8b28a83e88475') build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - # ghc 7.6 includes bytestring 0.10 - sed 's/bytestring == 0.9.*/bytestring == 0.10.*/' -i zlib.cabal - - 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 + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE + cd ${_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 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE } + diff --git a/extra/haskell-zlib/haskell-zlib.install b/extra/haskell-zlib/haskell-zlib.install index d387b7b65..a2bb66224 100644 --- a/extra/haskell-zlib/haskell-zlib.install +++ b/extra/haskell-zlib/haskell-zlib.install @@ -1,18 +1,35 @@ -HS_DIR=usr/share/haskell/haskell-zlib -post_install() { - ${HS_DIR}/register.sh +pkgname=haskell-zlib + +_register() { + usr/share/haskell/${pkgname}/register.sh +} + +_unregister() { + usr/share/haskell/${pkgname}/unregister.sh +} + +_gen_contents() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +post_install() { + _register + _gen_contents +} + pre_upgrade() { - ${HS_DIR}/unregister.sh + _unregister } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _register + _gen_contents } + pre_remove() { - ${HS_DIR}/unregister.sh + _unregister } + post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + _gen_contents } diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD index cc5a7c773..86d2b8d43 100644 --- a/extra/libzip/PKGBUILD +++ b/extra/libzip/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 181869 2013-04-05 03:45:55Z eric $ +# $Id: PKGBUILD 183834 2013-04-28 07:37:57Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=libzip -pkgver=0.11 +pkgver=0.11.1 pkgrel=1 pkgdesc="A C library for reading, creating, and modifying zip archives" url="http://www.nih.at/libzip/index.html" @@ -13,20 +13,23 @@ depends=('zlib') options=('!libtool') source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz" 'fix-headers.patch') -md5sums=('9fb13212011721983fe7119393565533' +md5sums=('87d5ec3629f6ad2a4b01ad961e7f0c19' '249395bd3a426c4c4e993e9d4753e1dd') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - +prepare() { + cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}/fix-headers.patch" +} + +build() { + cd ${pkgname}-${pkgver} autoreconf -i ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/live-media/PKGBUILD b/extra/live-media/PKGBUILD index 391a66fa4..5381a9b54 100644 --- a/extra/live-media/PKGBUILD +++ b/extra/live-media/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 183536 2013-04-22 16:39:02Z giovanni $ +# $Id: PKGBUILD 183838 2013-04-28 08:37:59Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Gilles CHAUVIN <gcnweb@gmail.com> pkgname=live-media -pkgver=2013.04.22 +pkgver=2013.04.23 pkgrel=1 pkgdesc="A set of C++ libraries for multimedia streaming" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('LGPL') url="http://live555.com/liveMedia" depends=('gcc-libs') source=("http://live555.com/liveMedia/public/live.${pkgver}.tar.gz") -md5sums=('83362b57ecfa0ed07a1f1bd93bb4cdfb') +md5sums=('1440933d015689ca400d2a27884aee6f') build() { cd ${srcdir}/live |