[arch-commits] Commit in xmobar/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Aug 24 11:13:04 UTC 2018
Date: Friday, August 24, 2018 @ 11:13:04
Author: felixonmars
Revision: 373693
archrelease: copy trunk to community-staging-x86_64
Added:
xmobar/repos/community-staging-x86_64/
xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 373692, xmobar/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 373692, xmobar/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-24 11:13:04 UTC (rev 373693)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=xmobar
+pkgver=0.27
+pkgrel=3
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-stm' 'haskell-parsec' 'haskell-parsec-numbers'
+ 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-iwlib'
+ 'wireless_tools' 'haskell-text')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jaor/xmobar/archive/${pkgver}.tar.gz)
+sha512sums=('ad235a81dd59a972646c189500b665c9c18d3ca644c9fa4bc18f6f1004e1e6914b6b5f3e83db439b946efd622bbf4d0894eb84fcf521255916f095632d8249da')
+
+build() {
+ cd xmobar-${pkgver}
+ runhaskell setup configure -O \
+ --enable-shared \
+ --prefix=/usr \
+ --enable-executable-dynamic \
+ --disable-library-vanilla \
+ --flags="with_utf8 with_xft with_iwlib with_xpm with_inotify with_mpd with_dbus with_mpris"
+ runhaskell setup build
+}
+
+package() {
+ cd xmobar-${pkgver}
+ runhaskell setup copy --destdir="${pkgdir}"
+ install -Dm 644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list