hstr-paketlendi

This commit is contained in:
milisbir 2018-11-15 23:03:56 +02:00
parent b936f7523f
commit 74ef73d19f
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# 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
}