[arch-commits] Commit in xmonad-contrib/repos (4 files)

Felix Yan fyan at archlinux.org
Wed May 25 16:24:30 UTC 2016


    Date: Wednesday, May 25, 2016 @ 18:24:30
  Author: fyan
Revision: 177033

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  xmonad-contrib/repos/community-staging-i686/
  xmonad-contrib/repos/community-staging-i686/PKGBUILD
    (from rev 177032, xmonad-contrib/trunk/PKGBUILD)
  xmonad-contrib/repos/community-staging-x86_64/
  xmonad-contrib/repos/community-staging-x86_64/PKGBUILD
    (from rev 177032, xmonad-contrib/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   39 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   39 ++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: xmonad-contrib/repos/community-staging-i686/PKGBUILD (from rev 177032, xmonad-contrib/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-25 16:24:30 UTC (rev 177033)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: orbisvicis <gmail.com>
+
+pkgname=xmonad-contrib
+pkgver=0.12
+pkgrel=3
+pkgdesc="Add-ons for xmonad"
+arch=('i686' 'x86_64')
+url="http://xmonad.org/"
+license=('BSD')
+depends=('ghc=8.0.1' 'xmonad=0.12' 'sh' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-random' 'haskell-old-time')
+source=("https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz")
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
+             --libsubdir=\$compiler/site-local/\$pkgid --docdir=/usr/share/doc/${pkgname}
+  runhaskell Setup build
+  runhaskell Setup haddock
+  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/$pkgname-$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.lhs copy --destdir=$pkgdir
+  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"
+
+  install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+md5sums=('5538c34c020946016cc31b49594c7d4b')

Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 177032, xmonad-contrib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-25 16:24:30 UTC (rev 177033)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: orbisvicis <gmail.com>
+
+pkgname=xmonad-contrib
+pkgver=0.12
+pkgrel=3
+pkgdesc="Add-ons for xmonad"
+arch=('i686' 'x86_64')
+url="http://xmonad.org/"
+license=('BSD')
+depends=('ghc=8.0.1' 'xmonad=0.12' 'sh' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-random' 'haskell-old-time')
+source=("https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz")
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
+             --libsubdir=\$compiler/site-local/\$pkgid --docdir=/usr/share/doc/${pkgname}
+  runhaskell Setup build
+  runhaskell Setup haddock
+  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/$pkgname-$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.lhs copy --destdir=$pkgdir
+  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"
+
+  install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+md5sums=('5538c34c020946016cc31b49594c7d4b')



More information about the arch-commits mailing list