[arch-commits] Commit in xmonad/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Aug 14 13:13:41 UTC 2018
Date: Tuesday, August 14, 2018 @ 13:13:41
Author: anthraxx
Revision: 371507
upgpkg: xmonad 0.14-1
Modified:
xmonad/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-14 13:13:10 UTC (rev 371506)
+++ PKGBUILD 2018-08-14 13:13:41 UTC (rev 371507)
@@ -5,38 +5,35 @@
# Contributor: shild <shildv at gmail.com>
pkgname=xmonad
-pkgver=0.13.20180419
-_commit=ecf1a0ca0d094c76a18c2c1b77ac7c1dcac10f5e
-pkgrel=3
-pkgdesc="Lightweight X11 tiled window manager written in Haskell"
+pkgver=0.14
+pkgrel=1
+pkgdesc='Lightweight X11 tiled window manager written in Haskell'
+url='https://xmonad.org/'
arch=('x86_64')
-url="http://xmonad.org/"
license=('BSD')
depends=('ghc' 'haskell-x11' 'sh' 'haskell-utf8-string' 'haskell-extensible-exceptions'
'haskell-data-default' 'haskell-setlocale')
makedepends=('gendesk')
optdepends=('xorg-xmessage: for displaying visual error messages')
-source=($pkgname-$_commit.tar.gz::https://github.com/xmonad/xmonad/archive/${_commit}.tar.gz
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
dynamic-compilation.patch
xmonad.svg)
-sha512sums=('12a35f837d7b2437e91c00cb88d5b2f7b98e6f26b8329c06cb5ec5d265da61644820a43e7b07c260ff52321ffa82214478a267471f36238baa70574366a0396d'
+sha512sums=('052e8c1f551ebc44aeb340eb8ebd7e6af9da5b3709b42b24df573ef22d07a7f6cbb08ee20de2006f3fe29b2ac91975838bc9da996951f6e06d64637d75e19dd4'
'abc598ebc4b55917186cd4d549fc970f53905f820d394ada9a092c08d8833050ad18b23e2f4fd7f281487da2db5b0ca058600e995ac97b18d3be4c62071562d6'
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
prepare() {
- mv $pkgname-{$_commit,$pkgver}
- gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
- cd $pkgname-$pkgver
+ gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/dynamic-compilation.patch"
-
- sed -i -e '/semigroups/d' -e 's/< 1.9,/< 1.9/' $pkgname.cabal
+ sed -i -e '/semigroups/d' -e 's/< 1.10,/< 1.10/' ${pkgname}.cabal
}
build() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="${pkgname}" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list