ncurses: use ${GNU_SITE}, vlicense, indent
This commit is contained in:
parent
b5218a99b2
commit
2a9ad8c58d
|
@ -6,7 +6,7 @@ short_desc="A System V Release 4.0 curses emulation library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.gnu.org/software/ncurses/"
|
homepage="http://www.gnu.org/software/ncurses/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="http://ftp.gnu.org/pub/gnu/ncurses/$pkgname-$version.tar.gz"
|
distfiles="${GNU_SITE}/ncurses/$pkgname-$version.tar.gz"
|
||||||
checksum=f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260
|
checksum=f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260
|
||||||
|
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
@ -52,6 +52,8 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
|
||||||
cd ${wrksrc}/ncursesw-build
|
cd ${wrksrc}/ncursesw-build
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
|
@ -86,8 +88,8 @@ do_install() {
|
||||||
# Remove broken symlink.
|
# Remove broken symlink.
|
||||||
rm -f ${DESTDIR}/usr/lib/terminfo
|
rm -f ${DESTDIR}/usr/lib/terminfo
|
||||||
|
|
||||||
ln -sf ncursesw6-config ${DESTDIR}/usr/bin/ncursesw5-config
|
ln -sf ncursesw6-config ${DESTDIR}/usr/bin/ncursesw5-config
|
||||||
ln -sf ncursesw6-config ${DESTDIR}/usr/bin/ncurses5-config
|
ln -sf ncursesw6-config ${DESTDIR}/usr/bin/ncurses5-config
|
||||||
}
|
}
|
||||||
|
|
||||||
ncurses-libs_package() {
|
ncurses-libs_package() {
|
||||||
|
|
Loading…
Reference in New Issue