From b2a515d9e765e1e1c9fe824c5c7fcc9aedaf61e4 Mon Sep 17 00:00:00 2001 From: hanspolo Date: Fri, 27 Dec 2013 10:14:19 +0100 Subject: [PATCH] Created emacs package --- srcpkgs/emacs-nox | 1 + srcpkgs/emacs/template | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 120000 srcpkgs/emacs-nox create mode 100644 srcpkgs/emacs/template diff --git a/srcpkgs/emacs-nox b/srcpkgs/emacs-nox new file mode 120000 index 0000000000..a7642dd168 --- /dev/null +++ b/srcpkgs/emacs-nox @@ -0,0 +1 @@ +emacs \ No newline at end of file diff --git a/srcpkgs/emacs/template b/srcpkgs/emacs/template new file mode 100644 index 0000000000..f36b5a9417 --- /dev/null +++ b/srcpkgs/emacs/template @@ -0,0 +1,27 @@ +# Template file for 'emacs' +pkgname=emacs +version=24.3 +revision=1 +maintainer="Philipp Hirsch " +license="GPL-3" +homepage="http://www.gnu.org/software/${pkgname}/" +distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41 +short_desc="GNU Emacs Editor" +long_desc="GNU Emacs is an extensible, customizable text editor—and more." +build_style=gnu-configure +makedepends="glibc>=2.8_1 libxml2>=2.7.0_1 ncurses>=ncurses>=5.8_1" + + +emacs_package() { + pkg_install() { + vmove all + } +} + +emacs-nox_package() { + configure_args="--without-x" + pkg_install() { + vmove all + } +}