aur: Update pkg builds

This commit is contained in:
Michael Carlberg 2016-10-25 21:07:58 +02:00
parent eac65cdabb
commit 378d776962
5 changed files with 13 additions and 26 deletions

View File

@ -61,7 +61,8 @@ available for more people.
### Dependencies ### Dependencies
- clang-3.4+ A compiler with c++14 support. For example [`clang`](http://clang.llvm.org/get_started.html).
- cmake - cmake
- boost - boost
- xcb-util-wm - xcb-util-wm
@ -75,8 +76,8 @@ Optional dependencies for module support:
- libmpdclient (required for `internal/mpd` support) - libmpdclient (required for `internal/mpd` support)
~~~ sh ~~~ sh
$ pacman -S clang35 cmake python2 boost xcb-util-wm libxft wireless_tools alsa-lib libmpdclient $ pacman -S cmake python2 boost xcb-util-wm libxft wireless_tools alsa-lib libmpdclient
$ apt-get install clang-3.8 libc++-dev libc++abi-dev cmake cmake-data libboost-dev libfreetype6-dev libxcb1-dev libx11-xcb-dev libxcb-util0-dev libxcb-randr0-dev libxcb-ewmh-dev libxcb-icccm4-dev xcb-proto python-xcbgen i3-wm libiw-dev libasound2-dev libmpdclient-dev $ apt-get install cmake cmake-data libboost-dev libfreetype6-dev libxcb1-dev libx11-xcb-dev libxcb-util0-dev libxcb-randr0-dev libxcb-ewmh-dev libxcb-icccm4-dev xcb-proto python-xcbgen i3-wm libiw-dev libasound2-dev libmpdclient-dev
~~~ ~~~
@ -88,7 +89,7 @@ Please [report any problems](https://github.com/jaagr/lemonbuddy/issues/new) you
$ git clone --branch 2.1.1 --recursive https://github.com/jaagr/lemonbuddy $ git clone --branch 2.1.1 --recursive https://github.com/jaagr/lemonbuddy
$ mkdir lemonbuddy/build $ mkdir lemonbuddy/build
$ cd lemonbuddy/build $ cd lemonbuddy/build
$ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release .. $ cmake -DCMAKE_BUILD_TYPE=Release ..
$ sudo make install $ sudo make install
~~~ ~~~

View File

@ -1,6 +1,6 @@
pkgbase = lemonbuddy-git pkgbase = lemonbuddy-git
pkgdesc = A fast and easy-to-use status bar pkgdesc = A fast and easy-to-use status bar
pkgver = 2.1.1 pkgver = 2.1.2
pkgrel = 1 pkgrel = 1
url = https://github.com/jaagr/lemonbuddy url = https://github.com/jaagr/lemonbuddy
arch = i686 arch = i686
@ -9,8 +9,6 @@ pkgbase = lemonbuddy-git
makedepends = cmake makedepends = cmake
makedepends = python2 makedepends = python2
makedepends = pkg-config makedepends = pkg-config
makedepends = clang35
makedepends = libc++
makedepends = boost makedepends = boost
depends = libxft depends = libxft
depends = xcb-util-wm depends = xcb-util-wm

View File

@ -2,7 +2,7 @@
# Contributor: Michael Carlberg <c@rlberg.se> # Contributor: Michael Carlberg <c@rlberg.se>
_pkgname=lemonbuddy _pkgname=lemonbuddy
pkgname="${_pkgname}-git" pkgname="${_pkgname}-git"
pkgver=2.1.1 pkgver=2.1.2
pkgrel=1 pkgrel=1
pkgdesc="A fast and easy-to-use tool for Lemonbar" pkgdesc="A fast and easy-to-use tool for Lemonbar"
arch=("i686" "x86_64") arch=("i686" "x86_64")
@ -13,7 +13,7 @@ optdepends=("alsa-lib: volume module support"
"libmpdclient: mpd module support" "libmpdclient: mpd module support"
"wireless_tools: network module support" "wireless_tools: network module support"
"i3ipc-glib-git: i3 module support") "i3ipc-glib-git: i3 module support")
makedepends=("cmake" "python2" "pkg-config" "clang35" "libc++" "boost") makedepends=("cmake" "python2" "pkg-config" "boost")
provides=("lemonbuddy") provides=("lemonbuddy")
conflicts=("lemonbuddy") conflicts=("lemonbuddy")
source=("${_pkgname}::git+${url}.git") source=("${_pkgname}::git+${url}.git")
@ -32,12 +32,7 @@ prepare() {
build() { build() {
cd "${_pkgname}/build" || exit cd "${_pkgname}/build" || exit
cmake \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_EXE_LINKER_FLAGS=-lc++ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
make make
} }

View File

@ -1,6 +1,6 @@
pkgbase = lemonbuddy pkgbase = lemonbuddy
pkgdesc = A fast and easy-to-use status bar pkgdesc = A fast and easy-to-use status bar
pkgver = 2.1.1 pkgver = 2.1.2
pkgrel = 1 pkgrel = 1
url = https://github.com/jaagr/lemonbuddy url = https://github.com/jaagr/lemonbuddy
arch = i686 arch = i686
@ -9,8 +9,6 @@ pkgbase = lemonbuddy
makedepends = cmake makedepends = cmake
makedepends = python2 makedepends = python2
makedepends = pkg-config makedepends = pkg-config
makedepends = clang35
makedepends = libc++
makedepends = boost makedepends = boost
depends = libxft depends = libxft
depends = xcb-util-wm depends = xcb-util-wm

View File

@ -1,7 +1,7 @@
# Maintainer: Michael Carlberg <c@rlberg.se> # Maintainer: Michael Carlberg <c@rlberg.se>
# Contributor: Michael Carlberg <c@rlberg.se> # Contributor: Michael Carlberg <c@rlberg.se>
pkgname=lemonbuddy pkgname=lemonbuddy
pkgver=2.1.1 pkgver=2.1.2
pkgrel=1 pkgrel=1
pkgdesc="A fast and easy-to-use tool for Lemonbar" pkgdesc="A fast and easy-to-use tool for Lemonbar"
arch=("i686" "x86_64") arch=("i686" "x86_64")
@ -12,7 +12,7 @@ optdepends=("alsa-lib: volume module support"
"libmpdclient: mpd module support" "libmpdclient: mpd module support"
"wireless_tools: network module support" "wireless_tools: network module support"
"i3ipc-glib-git: i3 module support") "i3ipc-glib-git: i3 module support")
makedepends=("cmake" "python2" "pkg-config" "clang35" "libc++" "boost") makedepends=("cmake" "python2" "pkg-config" "boost")
conflicts=("lemonbuddy-git") conflicts=("lemonbuddy-git")
source=("${pkgname}::git+${url}.git#tag=${pkgver}") source=("${pkgname}::git+${url}.git#tag=${pkgver}")
md5sums=("SKIP") md5sums=("SKIP")
@ -25,12 +25,7 @@ prepare() {
build() { build() {
cd "${pkgname}/build" || exit cd "${pkgname}/build" || exit
cmake \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_EXE_LINKER_FLAGS=-lc++ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
make make
} }