milis/talimatname/genel/h/hstr/talimat

22 lines
574 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Bash ve Zsh için komut tarihçe araştırma uygulaması
# URL: https://github.com/dvorka/hstr
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
isim=hstr
surum=2.0
devir=1
kaynak=(https://github.com/dvorka/hstr/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "$isim-$surum/build/tarball"
./tarball-automake.sh
cd ../..
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr.h
./configure --prefix=/usr
make
make DESTDIR="$PKG/" install
}