mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
vim: update to 7.3 patch 1200.
This commit is contained in:
parent
bbbff83a1f
commit
3d47bbb423
1 changed files with 11 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'vim'
|
# Template file for 'vim'
|
||||||
pkgname=vim
|
pkgname=vim
|
||||||
_distver=7.3
|
_distver=7.3
|
||||||
_patchver=798
|
_patchver=1200
|
||||||
version=${_distver}.${_patchver}
|
version=${_distver}.${_patchver}
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="mercurial pkg-config"
|
hostmakedepends="mercurial pkg-config"
|
||||||
|
@ -21,14 +21,12 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
mkdir -p /tmp/vim-x11
|
||||||
mkdir -p /tmp/vim-x11
|
cp -a $wrksrc/* /tmp/vim-x11
|
||||||
cp -a $wrksrc/* /tmp/vim-x11
|
mv /tmp/vim-x11 $wrksrc/
|
||||||
mv /tmp/vim-x11 $wrksrc/
|
mkdir -p /tmp/gvim
|
||||||
mkdir -p /tmp/gvim
|
cp -a $wrksrc/* /tmp/gvim
|
||||||
cp -a $wrksrc/* /tmp/gvim
|
mv /tmp/gvim $wrksrc/gvim
|
||||||
mv /tmp/gvim $wrksrc/gvim
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -81,7 +79,7 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
vim-common_package() {
|
vim-common_package() {
|
||||||
short_desc="VI iMproved - common files"
|
short_desc+=" - common files"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
replaces="vim<=7.2_2"
|
replaces="vim<=7.2_2"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -92,18 +90,18 @@ vim-common_package() {
|
||||||
vim-x11_package() {
|
vim-x11_package() {
|
||||||
provides="vim-${version}"
|
provides="vim-${version}"
|
||||||
replaces="vim>=0"
|
replaces="vim>=0"
|
||||||
short_desc="VI iMproved - X11 version"
|
short_desc+=" - X11 version"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
cd $wrksrc/vim-x11
|
cd $wrksrc/vim-x11
|
||||||
make DESTDIR=$PKGDESTDIR install
|
make DESTDIR=$PKGDESTDIR install
|
||||||
rm -f ${PKGDESTDIR}/usr/bin/{ex,view}
|
rm -f $PKGDESTDIR/usr/bin/{ex,view}
|
||||||
rm -rf $PKGDESTDIR/usr/share
|
rm -rf $PKGDESTDIR/usr/share
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gvim_package() {
|
gvim_package() {
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="VI iMproved - GTK+ GUI"
|
short_desc+=" - GTK+ GUI"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
cd $wrksrc/gvim
|
cd $wrksrc/gvim
|
||||||
sed -i "s|/locolor|/hicolor|g" src/Makefile
|
sed -i "s|/locolor|/hicolor|g" src/Makefile
|
||||||
|
|
Loading…
Add table
Reference in a new issue