[arch-commits] Commit in darcs/repos/community-staging-x86_64 (4 files)
Felix Yan
fyan at archlinux.org
Tue Nov 24 03:39:30 UTC 2015
Date: Tuesday, November 24, 2015 @ 04:39:30
Author: fyan
Revision: 147561
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
darcs/repos/community-staging-x86_64/PKGBUILD
(from rev 147560, darcs/trunk/PKGBUILD)
darcs/repos/community-staging-x86_64/darcs.install
(from rev 147560, darcs/trunk/darcs.install)
Deleted:
darcs/repos/community-staging-x86_64/PKGBUILD
darcs/repos/community-staging-x86_64/darcs.install
---------------+
PKGBUILD | 116 ++++++++++++++++++++++++++++----------------------------
darcs.install | 36 ++++++++---------
2 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-24 03:38:46 UTC (rev 147560)
+++ PKGBUILD 2015-11-24 03:39:30 UTC (rev 147561)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=darcs
-pkgver=2.10.2
-pkgrel=2
-pkgdesc="A distributed, interactive, smart revision control system"
-url="http://darcs.net"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=("ghc=7.10.2" "curl" "haskell-attoparsec" "haskell-base16-bytestring"
- "haskell-cryptohash" "haskell-data-ordlist" "haskell-hashable" "haskell-html"
- "haskell-http" "haskell-mmap" "haskell-mtl" "haskell-network" "haskell-network-uri"
- "haskell-old-time" "haskell-parsec" "haskell-sandi" "haskell-random"
- "haskell-regex-applicative" "haskell-regex-compat-tdfa" "haskell-tar"
- "haskell-text" "haskell-transformers-compat" "haskell-unix-compat"
- "haskell-utf8-string" "haskell-vector" "haskell-zip-archive" "haskell-zlib")
-options=('staticlibs' '!emptydirs')
-source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-install="${pkgname}.install"
-sha256sums=('6337d3fac04711fa2ef5813558b409c59166c5599b0c9d68c418d21cdccfb327')
-
-prepare() {
- sed -i 's/vector >= 0.7 && < 0.11,/vector >= 0.7 \&\& < 0.12,/' ${pkgname}-${pkgver}/${pkgname}.cabal
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --libsubdir=\$compiler/site-local/\$pkgid \
- -fcurl -fpkgconfig -fhttp -f-static -fterminfo -fthreaded -fexecutable \
- -f-hpc -f-rts -foptimize -f-warn-as-error -f-use-local-data-map-strict \
- -f-libiconv -f-hashed-storage-diff -fuse-time-1point5 -fnetwork-uri
- runhaskell Setup build
-
- runhaskell Setup haddock --hoogle --html
-
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${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/man/man1"
- install -d -m755 "${pkgdir}/usr/share/man/man5"
- install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
- ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
- runhaskell Setup copy --destdir="${pkgdir}"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
- chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
-}
Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 147560, darcs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-24 03:39:30 UTC (rev 147561)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=darcs
+pkgver=2.10.2
+pkgrel=2
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.2" "curl" "haskell-attoparsec" "haskell-base16-bytestring"
+ "haskell-cryptohash" "haskell-data-ordlist" "haskell-hashable" "haskell-html"
+ "haskell-http" "haskell-mmap" "haskell-mtl" "haskell-network" "haskell-network-uri"
+ "haskell-old-time" "haskell-parsec" "haskell-sandi" "haskell-random"
+ "haskell-regex-applicative" "haskell-regex-compat-tdfa" "haskell-tar"
+ "haskell-text" "haskell-transformers-compat" "haskell-unix-compat"
+ "haskell-utf8-string" "haskell-vector" "haskell-zip-archive" "haskell-zlib")
+options=('staticlibs' '!emptydirs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=('6337d3fac04711fa2ef5813558b409c59166c5599b0c9d68c418d21cdccfb327')
+
+prepare() {
+ sed -i 's/vector >= 0.7 && < 0.11,/vector >= 0.7 \&\& < 0.12,/' ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ -fcurl -fpkgconfig -fhttp -f-static -fterminfo -fthreaded -fexecutable \
+ -f-hpc -f-rts -foptimize -f-warn-as-error -f-use-local-data-map-strict \
+ -f-libiconv -f-hashed-storage-diff -fuse-time-1point5 -fnetwork-uri
+ runhaskell Setup build
+
+ runhaskell Setup haddock --hoogle --html
+
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${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/man/man1"
+ install -d -m755 "${pkgdir}/usr/share/man/man5"
+ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+ chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+}
Deleted: darcs.install
===================================================================
--- darcs.install 2015-11-24 03:38:46 UTC (rev 147560)
+++ darcs.install 2015-11-24 03:39:30 UTC (rev 147561)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/darcs
-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: darcs/repos/community-staging-x86_64/darcs.install (from rev 147560, darcs/trunk/darcs.install)
===================================================================
--- darcs.install (rev 0)
+++ darcs.install 2015-11-24 03:39:30 UTC (rev 147561)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/darcs
+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)
+}
More information about the arch-commits
mailing list