2016-05-20 07:58:30 +00:00
|
|
|
# Maintainer: Michael Carlberg <c@rlberg.se>
|
2016-05-23 18:25:56 +00:00
|
|
|
# Contributor: Michael Carlberg <c@rlberg.se>
|
2016-05-20 07:58:30 +00:00
|
|
|
pkgname=lemonbuddy
|
2016-05-24 05:20:52 +00:00
|
|
|
pkgver=0.1.1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A fast and easy-to-use tool for Lemonbar"
|
2016-05-20 07:58:30 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/jaagr/lemonbuddy"
|
|
|
|
license=('MIT')
|
|
|
|
groups=()
|
2016-05-23 18:25:56 +00:00
|
|
|
depends=('sh' 'alsa-lib' 'libmpdclient' 'libxrandr' 'libsigc++')
|
|
|
|
optdepends=('lemonbar-sm-git' 'i3-wm' 'i3ipc-glib-git')
|
|
|
|
makedepends=('libsigc++' 'libmpdclient' 'libxrandr'
|
|
|
|
'cmake' 'pkg-config' 'clang' 'glibc'
|
|
|
|
'boost' 'libx11' 'wireless_tools')
|
|
|
|
|
2016-05-24 05:20:52 +00:00
|
|
|
source=("git+https://github.com/jaagr/lemonbuddy.git#tag=${pkgver}")
|
2016-05-20 07:58:30 +00:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname" || exit
|
|
|
|
git submodule update --init --recursive
|
|
|
|
mkdir build
|
|
|
|
cd build || exit
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname/build" || exit
|
|
|
|
make DESTDIR="$pkgdir/" install
|
2016-05-23 18:25:56 +00:00
|
|
|
cd .. || exit
|
2016-05-20 07:58:30 +00:00
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|