[arch-commits] Commit in xmonad-contrib/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Aug 14 13:18:38 UTC 2018


    Date: Tuesday, August 14, 2018 @ 13:18:37
  Author: anthraxx
Revision: 371511

upgpkg: xmonad-contrib 0.14-1

Modified:
  xmonad-contrib/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 13:14:51 UTC (rev 371510)
+++ PKGBUILD	2018-08-14 13:18:37 UTC (rev 371511)
@@ -5,9 +5,8 @@
 # Contributor: orbisvicis <gmail.com>
 
 pkgname=xmonad-contrib
-pkgver=0.13.20180518
-_commit=d3d0818e9b9ef6e270b1b0e8c0e6ac683274da80
-pkgrel=3
+pkgver=0.14
+pkgrel=1
 pkgdesc='Add-ons for xmonad'
 url='http://xmonad.org/'
 arch=('x86_64')
@@ -15,17 +14,15 @@
 depends=('ghc-libs' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-random'
          'haskell-old-time')
 makedepends=('ghc')
-source=(${pkgname}-${_commit}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/${_commit}.tar.gz)
-sha512sums=('5efeb94294a50ab35b8eee255edadbc788b941f504f7a6b0317344cabc8b29ce370c83f56b935fb63cbe4176aa8100bed91e867666ec48bb68df80c703f9edde')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz)
+sha512sums=('e390daf57990c7b509448cefd963b2e13361a5d8d9918de78d415d6de6a29eb9cd82202bc023a093f273b4b0497df5bf9bfcfd88f80ddad11ca98e11d3cc5e58')
 
 prepare() {
-  mv $pkgname-{$_commit,$pkgver}
-  sed -i -e '/semigroups/d' -e 's/utf8-string,/utf8-string/' $pkgname-$pkgver/$pkgname.cabal
+  sed -i -e '/semigroups/d' -e 's/utf8-string,/utf8-string/' ${pkgname}-${pkgver}/${pkgname}.cabal
 }
 
 build() {
   cd ${pkgname}-${pkgver}
-
   runhaskell Setup.lhs configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
              --prefix=/usr -fuse_xft --libsubdir=\$compiler/site-local/\$pkgid \
              --docdir=/usr/share/doc/${pkgname}



More information about the arch-commits mailing list