2017-03-30 08:36:23 +02:00
|
|
|
# Description: Tamamen XCB'ye dayanan hafif bir çubuktur.
|
2016-02-24 01:27:23 +01:00
|
|
|
# URL: https://github.com/LemonBoy/bar
|
2017-03-30 08:36:23 +02:00
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: libxcb git xorg-libxinerama
|
|
|
|
|
|
|
|
name=lemonbar
|
|
|
|
version=v1.1.r12.gb331ee3
|
|
|
|
release=1
|
|
|
|
|
|
|
|
source=()
|
|
|
|
|
|
|
|
version() {
|
|
|
|
cd bar
|
|
|
|
|
|
|
|
if git_version=$( git describe --long --tags 2>/dev/null ); then
|
|
|
|
IFS='-' read last_tag tag_rev commit <<< "$git_version"
|
|
|
|
printf '%s.r%s.%s' "$last_tag" "$tag_rev" "$commit"
|
|
|
|
else
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
git clone "https://github.com/LemonBoy/bar.git"
|
|
|
|
cd bar
|
|
|
|
make
|
|
|
|
|
|
|
|
make PREFIX=/usr DESTDIR="$PKG" install
|
|
|
|
}
|