emacs: remove conflicting files.
This commit is contained in:
parent
f07dc85d4c
commit
7e73953bce
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'emacs'
|
# Template file for 'emacs'
|
||||||
pkgname=emacs
|
pkgname=emacs
|
||||||
version=24.3
|
version=24.3
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
configure_args="--without-x"
|
configure_args="--without-x"
|
||||||
|
short_desc="GNU Emacs Editor without X support"
|
||||||
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://www.gnu.org/software/${pkgname}/"
|
homepage="http://www.gnu.org/software/${pkgname}/"
|
||||||
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
|
checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
|
||||||
short_desc="GNU Emacs Editor without X support"
|
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="dbus jpeg tiff gif png svg xml imagemagick"
|
build_options="dbus jpeg tiff gif png svg xml imagemagick"
|
||||||
|
@ -79,3 +79,10 @@ if [ "$build_option_xml" ]; then
|
||||||
else
|
else
|
||||||
configure_args+=" --without-xml2"
|
configure_args+=" --without-xml2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Remove conflicting files.
|
||||||
|
rm -f ${DESTDIR}/usr/bin/ctags
|
||||||
|
rm -f ${DESTDIR}/usr/share/man/man1/ctags.1
|
||||||
|
rm -f ${DESTDIR}/usr/share/info/info.info
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue