[arch-commits] Commit in haskell-data-default/repos (8 files)
Date: Saturday, October 10, 2015 @ 11:42:54 Author: fyan Revision: 143571 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-data-default/repos/community-i686/PKGBUILD (from rev 143570, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-i686/haskell-data-default.install (from rev 143570, haskell-data-default/trunk/haskell-data-default.install) haskell-data-default/repos/community-x86_64/PKGBUILD (from rev 143570, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-x86_64/haskell-data-default.install (from rev 143570, haskell-data-default/trunk/haskell-data-default.install) Deleted: haskell-data-default/repos/community-i686/PKGBUILD haskell-data-default/repos/community-i686/haskell-data-default.install haskell-data-default/repos/community-x86_64/PKGBUILD haskell-data-default/repos/community-x86_64/haskell-data-default.install ---+ /PKGBUILD | 76 /haskell-data-default.install | 36 +++ community-i686/PKGBUILD | 37 --- community-i686/haskell-data-default.install | 18 - community-x86_64/PKGBUILD | 37 --- community-x86_64/haskell-data-default.install | 18 - 6 files changed, 112 insertions(+), 110 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-10-10 09:42:22 UTC (rev 143570) +++ community-i686/PKGBUILD 2015-10-10 09:42:54 UTC (rev 143571) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa-_hkgname=data-default -pkgname=haskell-data-default -pkgver=0.5.3 -pkgrel=9 -pkgdesc="A class for types with a default value" -url="http://hackage.haskell.org/package/${_hkgname}; -license=('custom:BSD3') -arch=('i686' 'x86_64') -makedepends=() -depends=('ghc=7.10.2' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') -options=('strip') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -install=${pkgname}.install -md5sums=('03a98d999273ad20d5bc0c711bf1c533') -options=('staticlibs') - -build() { -cd ${srcdir}/${_hkgname}-${pkgver} -runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 -} Copied: haskell-data-default/repos/community-i686/PKGBUILD (from rev 143570, haskell-data-default/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-10-10 09:42:54 UTC (rev 143571) @@ -0,0 +1,38 @@ +# Maintainer: Jelle van der Waa +_hkgname=data-default +pkgname=haskell-data-default +pkgver=0.5.3 +pkgrel=10 +pkgdesc="A class for types with a default value" +url="http://hackage.haskell.org/package/${_hkgname}; +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=() +depends=('ghc=7.10.2' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('03a98d999273ad20d5bc0c711bf1c533') +options=('staticlibs') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister
[arch-commits] Commit in haskell-data-default/repos (8 files)
Date: Sunday, December 28, 2014 @ 22:28:33 Author: jelle Revision: 124776 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-data-default/repos/community-staging-i686/PKGBUILD (from rev 124775, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-staging-i686/haskell-data-default.install (from rev 124775, haskell-data-default/trunk/haskell-data-default.install) haskell-data-default/repos/community-staging-x86_64/PKGBUILD (from rev 124775, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-staging-x86_64/haskell-data-default.install (from rev 124775, haskell-data-default/trunk/haskell-data-default.install) Deleted: haskell-data-default/repos/community-staging-i686/PKGBUILD haskell-data-default/repos/community-staging-i686/haskell-data-default.install haskell-data-default/repos/community-staging-x86_64/PKGBUILD haskell-data-default/repos/community-staging-x86_64/haskell-data-default.install ---+ /PKGBUILD | 74 /haskell-data-default.install | 36 +++ community-staging-i686/PKGBUILD | 37 community-staging-i686/haskell-data-default.install | 18 --- community-staging-x86_64/PKGBUILD | 37 community-staging-x86_64/haskell-data-default.install | 18 --- 6 files changed, 110 insertions(+), 110 deletions(-) Deleted: community-staging-i686/PKGBUILD === --- community-staging-i686/PKGBUILD 2014-12-28 21:28:24 UTC (rev 124775) +++ community-staging-i686/PKGBUILD 2014-12-28 21:28:33 UTC (rev 124776) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa je...@vdwaa.nl -_hkgname=data-default -pkgname=haskell-data-default -pkgver=0.5.3 -pkgrel=5 -pkgdesc=A class for types with a default value -url=http://hackage.haskell.org/package/${_hkgname}; -license=('custom:BSD3') -arch=('i686' 'x86_64') -makedepends=() -depends=('ghc=7.8.3' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') -options=('strip') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -install=${pkgname}.install -md5sums=('03a98d999273ad20d5bc0c711bf1c533') -options=('staticlibs') - -build() { -cd ${srcdir}/${_hkgname}-${pkgver} -runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 -} Copied: haskell-data-default/repos/community-staging-i686/PKGBUILD (from rev 124775, haskell-data-default/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-12-28 21:28:33 UTC (rev 124776) @@ -0,0 +1,37 @@ +# Maintainer: Jelle van der Waa je...@vdwaa.nl +_hkgname=data-default +pkgname=haskell-data-default +pkgver=0.5.3 +pkgrel=6 +pkgdesc=A class for types with a default value +url=http://hackage.haskell.org/package/${_hkgname}; +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=() +depends=('ghc=7.8.4' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('03a98d999273ad20d5bc0c711bf1c533') +options=('staticlibs') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} +runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-p } --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname}
[arch-commits] Commit in haskell-data-default/repos (8 files)
Date: Saturday, July 12, 2014 @ 16:07:53 Author: jelle Revision: 115573 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-data-default/repos/community-staging-i686/PKGBUILD (from rev 115572, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-staging-i686/haskell-data-default.install (from rev 115572, haskell-data-default/trunk/haskell-data-default.install) haskell-data-default/repos/community-staging-x86_64/PKGBUILD (from rev 115572, haskell-data-default/trunk/PKGBUILD) haskell-data-default/repos/community-staging-x86_64/haskell-data-default.install (from rev 115572, haskell-data-default/trunk/haskell-data-default.install) Deleted: haskell-data-default/repos/community-staging-i686/PKGBUILD haskell-data-default/repos/community-staging-i686/haskell-data-default.install haskell-data-default/repos/community-staging-x86_64/PKGBUILD haskell-data-default/repos/community-staging-x86_64/haskell-data-default.install ---+ /PKGBUILD | 74 /haskell-data-default.install | 36 +++ community-staging-i686/PKGBUILD | 37 community-staging-i686/haskell-data-default.install | 18 --- community-staging-x86_64/PKGBUILD | 37 community-staging-x86_64/haskell-data-default.install | 18 --- 6 files changed, 110 insertions(+), 110 deletions(-) Deleted: community-staging-i686/PKGBUILD === --- community-staging-i686/PKGBUILD 2014-07-12 14:02:51 UTC (rev 115572) +++ community-staging-i686/PKGBUILD 2014-07-12 14:07:53 UTC (rev 115573) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa je...@vdwaa.nl -_hkgname=data-default -pkgname=haskell-data-default -pkgver=0.5.3 -pkgrel=4 -pkgdesc=A class for types with a default value -url=http://hackage.haskell.org/package/${_hkgname}; -license=('custom:BSD3') -arch=('i686' 'x86_64') -makedepends=() -depends=('ghc=7.8.3' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') -options=('strip') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -install=${pkgname}.install -md5sums=('03a98d999273ad20d5bc0c711bf1c533') -options=('staticlibs') - -build() { -cd ${srcdir}/${_hkgname}-${pkgver} -runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 -} Copied: haskell-data-default/repos/community-staging-i686/PKGBUILD (from rev 115572, haskell-data-default/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-07-12 14:07:53 UTC (rev 115573) @@ -0,0 +1,37 @@ +# Maintainer: Jelle van der Waa je...@vdwaa.nl +_hkgname=data-default +pkgname=haskell-data-default +pkgver=0.5.3 +pkgrel=4 +pkgdesc=A class for types with a default value +url=http://hackage.haskell.org/package/${_hkgname}; +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=() +depends=('ghc=7.8.3' 'haskell-data-default-class' 'haskell-data-default-instances-base' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('03a98d999273ad20d5bc0c711bf1c533') +options=('staticlibs') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} +runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-p } --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/${pkgname}
[arch-commits] Commit in haskell-data-default/repos (8 files)
Date: Wednesday, March 20, 2013 @ 12:05:18 Author: jelle Revision: 86592 db-move: moved haskell-data-default from [community-testing] to [community] (i686, x86_64) Added: haskell-data-default/repos/community-i686/ haskell-data-default/repos/community-i686/PKGBUILD (from rev 86591, haskell-data-default/repos/community-testing-i686/PKGBUILD) haskell-data-default/repos/community-i686/haskell-data-default.install (from rev 86591, haskell-data-default/repos/community-testing-i686/haskell-data-default.install) haskell-data-default/repos/community-x86_64/ haskell-data-default/repos/community-x86_64/PKGBUILD (from rev 86591, haskell-data-default/repos/community-testing-x86_64/PKGBUILD) haskell-data-default/repos/community-x86_64/haskell-data-default.install (from rev 86591, haskell-data-default/repos/community-testing-x86_64/haskell-data-default.install) Deleted: haskell-data-default/repos/community-testing-i686/ haskell-data-default/repos/community-testing-x86_64/ ---+ community-i686/PKGBUILD | 44 community-i686/haskell-data-default.install | 26 ++ community-x86_64/PKGBUILD | 44 community-x86_64/haskell-data-default.install | 26 ++ 4 files changed, 140 insertions(+) Copied: haskell-data-default/repos/community-i686/PKGBUILD (from rev 86591, haskell-data-default/repos/community-testing-i686/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-03-20 11:05:18 UTC (rev 86592) @@ -0,0 +1,44 @@ +# Contributor: Lex Black autumn-wind at web dot de +# Contributor: Don Stewart d...@galois.com + +pkgname=haskell-data-default +_hkgname=data-default +_licensefile=LICENSE +pkgver=0.5.1 +pkgrel=2 +pkgdesc=A class for types with a default value +url=http://hackage.haskell.org/package/${_hkgname}; +license=('BSD') +arch=('i686' 'x86_64') +makedepends=('ghc') +depends=('haskell-containers' 'haskell-dlist' 'haskell-old-locale') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +sha256sums=('fb56f34f820379df4881bcccbcb065389200e20778321e2d6e8c92dad94af717') +install=${pkgname}.install + +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 configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 +} Copied: haskell-data-default/repos/community-i686/haskell-data-default.install (from rev 86591, haskell-data-default/repos/community-testing-i686/haskell-data-default.install) === --- community-i686/haskell-data-default.install (rev 0) +++ community-i686/haskell-data-default.install 2013-03-20 11:05:18 UTC (rev 86592) @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-data-default +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) +} Copied: haskell-data-default/repos/community-x86_64/PKGBUILD (from rev 86591, haskell-data-default/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-03-20 11:05:18 UTC (rev 86592) @@ -0,0 +1,44 @@ +#
[arch-commits] Commit in haskell-data-default/repos (8 files)
Date: Tuesday, March 12, 2013 @ 19:46:44 Author: jelle Revision: 86178 db-move: moved haskell-data-default from [community-staging] to [community-testing] (i686, x86_64) Added: haskell-data-default/repos/community-testing-i686/ haskell-data-default/repos/community-testing-i686/PKGBUILD (from rev 86177, haskell-data-default/repos/community-staging-i686/PKGBUILD) haskell-data-default/repos/community-testing-i686/haskell-data-default.install (from rev 86177, haskell-data-default/repos/community-staging-i686/haskell-data-default.install) haskell-data-default/repos/community-testing-x86_64/ haskell-data-default/repos/community-testing-x86_64/PKGBUILD (from rev 86177, haskell-data-default/repos/community-staging-x86_64/PKGBUILD) haskell-data-default/repos/community-testing-x86_64/haskell-data-default.install (from rev 86177, haskell-data-default/repos/community-staging-x86_64/haskell-data-default.install) Deleted: haskell-data-default/repos/community-staging-i686/ haskell-data-default/repos/community-staging-x86_64/ ---+ community-testing-i686/PKGBUILD | 44 community-testing-i686/haskell-data-default.install | 26 + community-testing-x86_64/PKGBUILD | 44 community-testing-x86_64/haskell-data-default.install | 26 + 4 files changed, 140 insertions(+) Copied: haskell-data-default/repos/community-testing-i686/PKGBUILD (from rev 86177, haskell-data-default/repos/community-staging-i686/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-03-12 18:46:44 UTC (rev 86178) @@ -0,0 +1,44 @@ +# Contributor: Lex Black autumn-wind at web dot de +# Contributor: Don Stewart d...@galois.com + +pkgname=haskell-data-default +_hkgname=data-default +_licensefile=LICENSE +pkgver=0.5.1 +pkgrel=2 +pkgdesc=A class for types with a default value +url=http://hackage.haskell.org/package/${_hkgname}; +license=('BSD') +arch=('i686' 'x86_64') +makedepends=('ghc') +depends=('haskell-containers' 'haskell-dlist' 'haskell-old-locale') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +sha256sums=('fb56f34f820379df4881bcccbcb065389200e20778321e2d6e8c92dad94af717') +install=${pkgname}.install + +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 configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 +} Copied: haskell-data-default/repos/community-testing-i686/haskell-data-default.install (from rev 86177, haskell-data-default/repos/community-staging-i686/haskell-data-default.install) === --- community-testing-i686/haskell-data-default.install (rev 0) +++ community-testing-i686/haskell-data-default.install 2013-03-12 18:46:44 UTC (rev 86178) @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-data-default +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) +} Copied: haskell-data-default/repos/community-testing-x86_64/PKGBUILD (from rev 86177, haskell-data-default/repos/community-staging-x86_64/PKGBUILD) === ---