2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Tamamen XCB'ye dayanan hafif bir çubuktur.
|
|
|
|
|
# URL: https://github.com/LemonBoy/bar
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libxcb git xorg-libxinerama
|
2018-08-03 08:34:00 +02:00
|
|
|
|
# Grup: masaüstü
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=lemonbar
|
|
|
|
|
surum=v1.1.r12.gb331ee3
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=()
|
|
|
|
|
|
|
|
|
|
version() {
|
|
|
|
|
cd bar
|
|
|
|
|
|
|
|
|
|
if git_surum=$( 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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
git clone "https://github.com/LemonBoy/bar.git"
|
|
|
|
|
cd bar
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
make PREFIX=/usr DESTDIR="$PKG" install
|
|
|
|
|
}
|