fix(aur+xbps): Update version in pkg templates

This commit is contained in:
Michael Carlberg 2016-06-29 05:47:02 +02:00
parent 3cd7dc4085
commit 6329b5635c
5 changed files with 35 additions and 24 deletions

View File

@ -1,6 +1,6 @@
pkgbase = lemonbuddy-git pkgbase = lemonbuddy-git
pkgdesc = A fast and easy-to-use tool for Lemonbar pkgdesc = A fast and easy-to-use tool for Lemonbar
pkgver = 1.4.0 pkgver = 1.4.1
pkgrel = 1 pkgrel = 1
url = https://github.com/jaagr/lemonbuddy url = https://github.com/jaagr/lemonbuddy
arch = i686 arch = i686

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=1.4.0 pkgver=1.4.1
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")

View File

@ -1,7 +1,7 @@
pkgbase = lemonbuddy pkgbase = lemonbuddy
pkgdesc = A fast and easy-to-use tool for Lemonbar pkgdesc = A fast and easy-to-use tool for Lemonbar
pkgver = 1.4.0 pkgver = 1.4.1
pkgrel = 1 pkgrel = 2
url = https://github.com/jaagr/lemonbuddy url = https://github.com/jaagr/lemonbuddy
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -20,7 +20,7 @@ pkgbase = lemonbuddy
optdepends = jsoncpp: i3 module support optdepends = jsoncpp: i3 module support
optdepends = i3ipc-glib-git: i3 module support optdepends = i3ipc-glib-git: i3 module support
conflicts = lemonbuddy-git conflicts = lemonbuddy-git
source = lemonbuddy::git+https://github.com/jaagr/lemonbuddy.git#tag=1.4.0 source = lemonbuddy::git+https://github.com/jaagr/lemonbuddy.git#tag=1.4.1
md5sums = SKIP md5sums = SKIP
pkgname = lemonbuddy pkgname = lemonbuddy

View File

@ -1,8 +1,8 @@
# 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=1.4.0 pkgver=1.4.1
pkgrel=1 pkgrel=2
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")
url="https://github.com/jaagr/lemonbuddy" url="https://github.com/jaagr/lemonbuddy"
@ -23,13 +23,13 @@ prepare() {
cd "$pkgname" || exit cd "$pkgname" || exit
git submodule update --init --recursive git submodule update --init --recursive
mkdir build mkdir build
sed 's/python2.7/python3.5/g' -i lib/xpp/CMakeLists.txt
} }
build() { build() {
cd "${pkgname}/build" || exit cd "${pkgname}/build" || exit
cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make make
sed 's/python2.7/python3.5/g' -i lib/xpp/CMakeLists.txt
} }
package() { package() {

View File

@ -1,35 +1,46 @@
# Template file for 'lemonbuddy' # Template file for 'lemonbuddy'
pkgname=lemonbuddy pkgname=lemonbuddy
version=1.2.1 version=1.4.1
revision=1 revision=1
_i3ipcpp_version=0.1.3 _i3ipcpp_version=0.3.0
_lemonbar_version=1.1 _xpp_version=1.0.0
build_style=cmake build_style=cmake
hostmakedepends="clang pkg-config" configure_args="
makedepends="libX11-devel libXrandr-devel boost-devel -DENABLE_ALSA=$(vopt_if alsa ON OFF)
$(vopt_if alsa "alsa-lib-devel") -DENABLE_I3=$(vopt_if i3 ON OFF)
$(vopt_if i3 "i3-devel i3ipc-glib-devel libsigc++-devel") -DENABLE_MPD=$(vopt_if mpd ON OFF)
$(vopt_if mpd "libmpdclient-devel") -DENABLE_NETWORK=$(vopt_if network ON OFF)"
$(vopt_if network "wireless_tools-devel")" hostmakedepends="clang pkg-config xcb-proto"
makedepends="libX11-devel libxcb-devel boost-devel
${build_option_alsa:+alsa-lib-devel}
${build_option_i3:+i3-devel i3ipc-glib-devel libsigc++-devel jsoncpp-devel}
${build_option_mpd:+libmpdclient-devel}
${build_option_network:+wireless_tools-devel}"
short_desc="A fast and easy-to-use tool for Lemonbar" short_desc="A fast and easy-to-use tool for Lemonbar"
maintainer="Michael Carlberg <c@rlberg.se>" maintainer="Michael Carlberg <c@rlberg.se>"
license="MIT" license="MIT"
homepage="https://github.com/jaagr/lemonbuddy" homepage="https://github.com/jaagr/lemonbuddy"
distfiles=" distfiles="
https://github.com/jaagr/lemonbuddy/archive/${version}.tar.gz https://github.com/jaagr/lemonbuddy/archive/${version}.tar.gz
https://github.com/jaagr/i3ipcpp/archive/v${_i3ipcpp_version}.tar.gz https://github.com/jaagr/xpp/archive/${_xpp_version}.tar.gz
https://github.com/jaagr/bar/archive/v${_lemonbar_version}.tar.gz" ${build_option_i3:+https://github.com/jaagr/i3ipcpp/archive/v${_i3ipcpp_version}.tar.gz}"
checksum=" checksum="
dfbeb74aaac49cb0f3c5c98466aadf2477c6a709025174e11e1da7ad7edafef4 09de151bea68bcb3d646e65628b1ce5c3bb89a2a1426bb69996976468e9c13e8
fb5ea31bf2d008065512f12ab9d9cc8304b2a4e6ba2ae93082df29712f372449 a0f0f7b3f007e6302835fe7dfb7b935df8c4ab8c9f76b30afb652a04199158e9
d9073ecc3d2638804a723d47c74666ba3cd1c3771dfe254809de01ec5c428d4a" ${build_option_i3:+85b588f957740f89a275b4b2acc27cab78ee2606f5e68e62ce61b9c1278bb366}"
build_options="alsa i3 mpd network" build_options="alsa i3 mpd network"
build_options_default="$build_options" build_options_default="$build_options"
post_extract() { post_extract() {
mv ../i3ipcpp-$_i3ipcpp_version contrib/i3ipcpp [ -d ../i3ipcpp-${_i3ipcpp_version} ] && \
mv ../bar-$_lemonbar_version contrib/lemonbar-sm-git mv ../i3ipcpp-${_i3ipcpp_version}/* lib/i3ipcpp/ || true
[ -d ../xpp-${_xpp_version} ] && \
mv ../xpp-${_xpp_version}/* lib/xpp/ || true
}
pre_build() {
./version.sh ${version}
} }
post_install() { post_install() {