milis/talimatname/genel/l/lemonbar/talimat

30 lines
625 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Tamamen XCB'ye dayanan hafif bir çubuktur.
2016-02-24 01:27:23 +01:00
# URL: https://github.com/LemonBoy/bar
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libxcb git xorg-libxinerama
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=lemonbar
surum=v1.1.r12.gb331ee3
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=()
2016-02-24 01:27:23 +01:00
version() {
cd bar
2017-10-28 14:10:23 +02:00
if git_surum=$( git describe --long --tags 2>/dev/null ); then
2016-02-24 01:27:23 +01:00
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
}
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
git clone "https://github.com/LemonBoy/bar.git"
cd bar
make
make PREFIX=/usr DESTDIR="$PKG" install
}