[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Wednesday, December 23, 2020 @ 22:28:48 Author: felixonmars Revision: 785530 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 785529, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 785529, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 22:28:48 UTC (rev 785530) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=10 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Sunday, August 30, 2020 @ 18:12:03 Author: felixonmars Revision: 692877 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 692876, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 692876, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-30 18:12:03 UTC (rev 692877) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=9 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Monday, August 17, 2020 @ 06:48:53 Author: felixonmars Revision: 682338 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 682337, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 682337, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-17 06:48:53 UTC (rev 682338) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=8 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Thursday, April 23, 2020 @ 12:12:54 Author: felixonmars Revision: 618111 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 618110, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 618110, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-23 12:12:54 UTC (rev 618111) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=7 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Wednesday, February 26, 2020 @ 22:06:34 Author: felixonmars Revision: 583381 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 583380, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 583380, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-26 22:06:34 UTC (rev 583381) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=6 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Saturday, February 15, 2020 @ 13:29:25 Author: felixonmars Revision: 571490 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 571489, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 571489, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-15 13:29:25 UTC (rev 571490) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=5 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Wednesday, January 8, 2020 @ 19:52:08 Author: felixonmars Revision: 550555 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 550554, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 550554, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-08 19:52:08 UTC (rev 550555) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=4 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Thursday, April 25, 2019 @ 11:49:14 Author: felixonmars Revision: 453743 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 453742, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 453742, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-25 11:49:14 UTC (rev 453743) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=3 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Saturday, March 9, 2019 @ 16:54:34 Author: felixonmars Revision: 438480 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 438479, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 438479, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-09 16:54:34 UTC (rev 438480) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=2 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Tuesday, December 25, 2018 @ 11:07:46 Author: felixonmars Revision: 417912 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 417911, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 417911, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-25 11:07:46 UTC (rev 417912) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.9 +pkgrel=1 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Sunday, December 9, 2018 @ 21:59:27 Author: felixonmars Revision: 413285 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 413284, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 413284, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-09 21:59:27 UTC (rev 413285) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.8 +pkgrel=4 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('acbc69bbaac28db72da2b23f6da3654a69eea236e836f078ab3bfd09d9e9e199ad81cd72105ab42681ed0534152ce4ee5c3f2816a8617c2e1c9cda60dda4cf9f') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Tuesday, November 6, 2018 @ 19:26:44 Author: felixonmars Revision: 401969 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 401968, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 401968, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-06 19:26:44 UTC (rev 401969) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.8 +pkgrel=3 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('acbc69bbaac28db72da2b23f6da3654a69eea236e836f078ab3bfd09d9e9e199ad81cd72105ab42681ed0534152ce4ee5c3f2816a8617c2e1c9cda60dda4cf9f') + +build() { +cd $_hkgname-$pkgver +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Sunday, October 14, 2018 @ 17:52:06 Author: felixonmars Revision: 393707 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 393706, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 393706, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-14 17:52:06 UTC (rev 393707) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.8 +pkgrel=2 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('acbc69bbaac28db72da2b23f6da3654a69eea236e836f078ab3bfd09d9e9e199ad81cd72105ab42681ed0534152ce4ee5c3f2816a8617c2e1c9cda60dda4cf9f') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Monday, June 25, 2018 @ 16:55:23 Author: felixonmars Revision: 345882 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 345881, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 345881, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-25 16:55:23 UTC (rev 345882) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.8 +pkgrel=1 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('acbc69bbaac28db72da2b23f6da3654a69eea236e836f078ab3bfd09d9e9e199ad81cd72105ab42681ed0534152ce4ee5c3f2816a8617c2e1c9cda60dda4cf9f') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Thursday, May 31, 2018 @ 19:13:09 Author: felixonmars Revision: 335269 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 335268, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 335268, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-31 19:13:09 UTC (rev 335269) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.7 +pkgrel=11 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Wednesday, May 16, 2018 @ 20:15:07 Author: felixonmars Revision: 323221 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 323220, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 323220, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-16 20:15:07 UTC (rev 323221) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.7 +pkgrel=10 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Monday, February 26, 2018 @ 20:09:09 Author: felixonmars Revision: 298770 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 298769, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 298769, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-26 20:09:09 UTC (rev 298770) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.7 +pkgrel=9 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-text') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Thursday, December 28, 2017 @ 17:01:13 Author: felixonmars Revision: 276571 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 276570, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 276570, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-12-28 17:01:13 UTC (rev 276571) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.7 +pkgrel=8 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-text') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-mime-types/repos (2 files)
Date: Monday, November 27, 2017 @ 05:15:46 Author: felixonmars Revision: 269167 archrelease: copy trunk to community-staging-x86_64 Added: haskell-mime-types/repos/community-staging-x86_64/ haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 269166, haskell-mime-types/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-mime-types/repos/community-staging-x86_64/PKGBUILD (from rev 269166, haskell-mime-types/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-27 05:15:46 UTC (rev 269167) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Daniel Nagy +# Contributor: hauzer + +_hkgname=mime-types +pkgname=haskell-mime-types +pkgver=0.1.0.7 +pkgrel=7 +pkgdesc="Basic mime-type handling types and functions" +url="https://hackage.haskell.org/package/${_hkgname}; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-text') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('411bc4cbb471a0f520413831e7613ede6a2f326120adba1f8acc92b12f2eb241e12323cc68d3ea829e26009b8d7728bf26b0a634b9c672c88345a6a2cc94cd8a') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +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/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}