[arch-commits] Commit in xmonad-contrib/repos (8 files)
Jelle van der Waa
jelle at archlinux.org
Mon Mar 30 19:42:54 UTC 2015
Date: Monday, March 30, 2015 @ 21:42:53
Author: jelle
Revision: 130377
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 130376, xmonad-contrib/trunk/PKGBUILD)
xmonad-contrib/repos/community-staging-i686/xmonad-contrib-remove-getatomname.patch
(from rev 130376, xmonad-contrib/trunk/xmonad-contrib-remove-getatomname.patch)
xmonad-contrib/repos/community-staging-i686/xmonad-contrib.install
(from rev 130376, xmonad-contrib/trunk/xmonad-contrib.install)
xmonad-contrib/repos/community-staging-x86_64/
xmonad-contrib/repos/community-staging-x86_64/PKGBUILD
(from rev 130376, xmonad-contrib/trunk/PKGBUILD)
xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib-remove-getatomname.patch
(from rev 130376, xmonad-contrib/trunk/xmonad-contrib-remove-getatomname.patch)
xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib.install
(from rev 130376, xmonad-contrib/trunk/xmonad-contrib.install)
------------------------------------------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++
community-staging-i686/xmonad-contrib-remove-getatomname.patch | 19 +++++
community-staging-i686/xmonad-contrib.install | 17 ++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++
community-staging-x86_64/xmonad-contrib-remove-getatomname.patch | 19 +++++
community-staging-x86_64/xmonad-contrib.install | 17 ++++
6 files changed, 144 insertions(+)
Copied: xmonad-contrib/repos/community-staging-i686/PKGBUILD (from rev 130376, xmonad-contrib/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,36 @@
+# $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.11.4
+pkgrel=1
+pkgdesc="Add-ons for xmonad"
+arch=('i686' 'x86_64')
+url="http://xmonad.org/"
+license=('BSD')
+depends=('ghc=7.10.1' 'xmonad=0.11.1' 'sh' 'haskell-x11=1.6.1.2' 'haskell-x11-xft=0.3.1' 'haskell-utf8-string=1' 'haskell-random=1.1')
+install='xmonad-contrib.install'
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('a41c886280a5414105c1cf241f0fd2f4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ 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
+ runhaskell Setup.lhs copy --destdir=$pkgdir
+ install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE
+}
Copied: xmonad-contrib/repos/community-staging-i686/xmonad-contrib-remove-getatomname.patch (from rev 130376, xmonad-contrib/trunk/xmonad-contrib-remove-getatomname.patch)
===================================================================
--- community-staging-i686/xmonad-contrib-remove-getatomname.patch (rev 0)
+++ community-staging-i686/xmonad-contrib-remove-getatomname.patch 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,19 @@
+diff -aur xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs
+--- xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs 2013-01-01 01:32:44.000000000 +0000
++++ xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs 2013-03-18 07:54:52.082723862 +0000
+@@ -50,6 +50,7 @@
+ import System.Process
+
+ -- this should move into X11
++{-
+ foreign import ccall unsafe "XGetAtomName"
+ xGetAtomName :: Display -> Atom -> IO CString
+
+@@ -63,6 +64,7 @@
+ xFree n
+ return $ Just n'
+
++-}
+ -- | Event hook to dump all received events. You should probably not use this
+ -- unconditionally; it will produce massive amounts of output.
+ debugEventsHook :: Event -> X All
Copied: xmonad-contrib/repos/community-staging-i686/xmonad-contrib.install (from rev 130376, xmonad-contrib/trunk/xmonad-contrib.install)
===================================================================
--- community-staging-i686/xmonad-contrib.install (rev 0)
+++ community-staging-i686/xmonad-contrib.install 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,17 @@
+HS_DIR=usr/share/haskell/xmonad-contrib
+
+post_install() {
+ ${HS_DIR}/register.sh
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 130376, xmonad-contrib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,36 @@
+# $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.11.4
+pkgrel=1
+pkgdesc="Add-ons for xmonad"
+arch=('i686' 'x86_64')
+url="http://xmonad.org/"
+license=('BSD')
+depends=('ghc=7.10.1' 'xmonad=0.11.1' 'sh' 'haskell-x11=1.6.1.2' 'haskell-x11-xft=0.3.1' 'haskell-utf8-string=1' 'haskell-random=1.1')
+install='xmonad-contrib.install'
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('a41c886280a5414105c1cf241f0fd2f4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ 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
+ runhaskell Setup.lhs copy --destdir=$pkgdir
+ install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE
+}
Copied: xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib-remove-getatomname.patch (from rev 130376, xmonad-contrib/trunk/xmonad-contrib-remove-getatomname.patch)
===================================================================
--- community-staging-x86_64/xmonad-contrib-remove-getatomname.patch (rev 0)
+++ community-staging-x86_64/xmonad-contrib-remove-getatomname.patch 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,19 @@
+diff -aur xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs
+--- xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs 2013-01-01 01:32:44.000000000 +0000
++++ xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs 2013-03-18 07:54:52.082723862 +0000
+@@ -50,6 +50,7 @@
+ import System.Process
+
+ -- this should move into X11
++{-
+ foreign import ccall unsafe "XGetAtomName"
+ xGetAtomName :: Display -> Atom -> IO CString
+
+@@ -63,6 +64,7 @@
+ xFree n
+ return $ Just n'
+
++-}
+ -- | Event hook to dump all received events. You should probably not use this
+ -- unconditionally; it will produce massive amounts of output.
+ debugEventsHook :: Event -> X All
Copied: xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib.install (from rev 130376, xmonad-contrib/trunk/xmonad-contrib.install)
===================================================================
--- community-staging-x86_64/xmonad-contrib.install (rev 0)
+++ community-staging-x86_64/xmonad-contrib.install 2015-03-30 19:42:53 UTC (rev 130377)
@@ -0,0 +1,17 @@
+HS_DIR=usr/share/haskell/xmonad-contrib
+
+post_install() {
+ ${HS_DIR}/register.sh
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
More information about the arch-commits
mailing list