1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-25 13:55:47 -05:00

feat(xbps): Template file for xbps package

This commit is contained in:
Michael Carlberg 2016-06-20 17:28:21 +02:00
parent 5cd0605132
commit 710bd32c26
2 changed files with 40 additions and 3 deletions

View file

@ -25,12 +25,12 @@ Here are two screenshots showing you what it could look like (make sure to view
## Installation
### Arch Linux
### Arch Linux
Install the AUR package [lemonbuddy-git](https://aur.archlinux.org/packages/lemonbuddy-git/) to get the latest version, or
[lemonbuddy](https://aur.archlinux.org/packages/lemonbuddy/) for the latest stable release.
### Void Linux
A package will be written for XBPS so stay tuned.
### Void Linux
Install the XBPS package [lemonbuddy](https://raw.githubusercontent.com/jaagr/void-packages/lemonbuddy/srcpkgs/lemonbuddy/template) for the latest stable release.
### Dependencies:

View file

@ -0,0 +1,37 @@
# Template file for 'lemonbuddy'
pkgname=lemonbuddy
version=1.2.1
revision=1
_i3ipcpp_version=0.1.3
_lemonbar_version=1.1
build_style=cmake
hostmakedepends="clang pkg-config"
makedepends="libX11-devel libXrandr-devel boost-devel
$(vopt_if alsa "alsa-lib-devel")
$(vopt_if i3 "i3-devel i3ipc-glib-devel libsigc++-devel")
$(vopt_if mpd "libmpdclient-devel")
$(vopt_if network "wireless_tools-devel")"
short_desc="A fast and easy-to-use tool for Lemonbar"
maintainer="Michael Carlberg <c@rlberg.se>"
license="MIT"
homepage="https://github.com/jaagr/lemonbuddy"
distfiles="
https://github.com/jaagr/lemonbuddy/archive/${version}.tar.gz
https://github.com/jaagr/i3ipcpp/archive/v${_i3ipcpp_version}.tar.gz
https://github.com/jaagr/bar/archive/v${_lemonbar_version}.tar.gz"
checksum="
dfbeb74aaac49cb0f3c5c98466aadf2477c6a709025174e11e1da7ad7edafef4
fb5ea31bf2d008065512f12ab9d9cc8304b2a4e6ba2ae93082df29712f372449
d9073ecc3d2638804a723d47c74666ba3cd1c3771dfe254809de01ec5c428d4a"
build_options="alsa i3 mpd network"
build_options_default="$build_options"
post_extract() {
mv ../i3ipcpp-$_i3ipcpp_version contrib/i3ipcpp
mv ../bar-$_lemonbar_version contrib/lemonbar-sm-git
}
post_install() {
vlicense LICENSE
}