diff options
author | Michael Carlberg | 2017-06-07 17:50:55 +0200 |
---|---|---|
committer | Michael Carlberg | 2017-06-07 17:50:55 +0200 |
commit | b65bcf9b539d0916fabcf1ed0f89aa6736138b41 (patch) | |
tree | fb1d42a2e8d2e7d756eb7961d3994f3abae75827 | |
parent | fddbfeff5037124bb7a5ca34b853b726c86a3194 (diff) | |
download | aur-b65bcf9b539d0916fabcf1ed0f89aa6736138b41.tar.gz |
use clang
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -1,11 +1,12 @@ pkgbase = polybar pkgdesc = A fast and easy-to-use status bar pkgver = 3.0.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jaagr/polybar arch = i686 arch = x86_64 license = MIT + makedepends = clang makedepends = cmake makedepends = git makedepends = python @@ -2,7 +2,7 @@ # Contributor: Michael Carlberg <c@rlberg.se> pkgname=polybar pkgver=3.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and easy-to-use status bar" arch=("i686" "x86_64") url="https://github.com/jaagr/polybar" @@ -16,7 +16,7 @@ optdepends=("alsa-lib: volume module support" "ttf-unifont: Font used in example config" "siji-git: Font used in example config" "curl: github module support") -makedepends=("cmake" "git" "python" "python2" "pkg-config") +makedepends=("clang" "cmake" "git" "python" "python2" "pkg-config") conflicts=("polybar-git") install="${pkgname}.install" source=("${pkgname}::git+${url}.git#tag=${pkgver}") @@ -29,7 +29,7 @@ prepare() { build() { cd "${pkgname}/build" || exit 1 - cmake -DCMAKE_INSTALL_PREFIX=/usr .. + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" .. cmake --build . } |