This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/ncurses/common.bash

30 lines
370 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
"5.9"
)
url=\
(
"http://ftp.gnu.org/pub/gnu/ncurses/ncurses-${version}.tar.gz"
)
md5=\
(
"8cb9c412e5f2d96bc6f459aa8c6282a1"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
2015-06-03 17:12:41 +01:00
post_unpack()
{
patches=$(ls "$pkg_dir"/patches/*.patch)
cd "../$pkg-$version"
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi
}