1 # Contributor: Rick W. Chen <stuffcorpse@archlinux.us>
6 pkgdesc="highlight strings using ANSI terminal escape sequences"
8 url="http://www.debian-administration.org/article/Highlighting_strings_in_text_output_with_histring"
14 source=('extrasrc_not_allowed.patch')
15 sha1sums=('241c55efc4a1c89061b0cf7b291101d1e130739f')
16 md5sums=('8e5f8c290e54a6395b366e6ff146e7b1')
18 _gitroot="git://git.grml.org/histring.git"
23 msg "Connecting to grml GIT server...."
25 if [ -d "${srcdir}/$_gitname" ] ; then
26 cd "$_gitname" && git fetch origin && cd "${srcdir}"
27 msg "The local files are updated."
29 git clone --mirror "$_gitroot" "$_gitname"
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 if [ -d "${srcdir}/$_gitname-build" ] ; then
36 rm -fr "${srcdir}/$_gitname-build"
39 git clone -l "$_gitname" "$_gitname-build"
40 cd "${srcdir}/$_gitname-build"
42 git apply ${srcdir}/extrasrc_not_allowed.patch
43 automake -a -c || true
44 ./configure --prefix=/usr
49 cd "${srcdir}/$_gitname-build"
50 make DESTDIR="${pkgdir}" install
52 # vim:set ts=2 sw=2 et: