aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-28 13:52:11 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 13:52:11 +0000
commit93a756bf967e9d2d014e6266556849bd84cc1cba (patch)
tree91e61989cad07608848575e248ba8d9f69e8e70f /unmaintained
parent6c9b7b22a864eac971a468aae8053c5cad8cdda6 (diff)
downloadaports-93a756bf967e9d2d014e6266556849bd84cc1cba.tar.bz2
aports-93a756bf967e9d2d014e6266556849bd84cc1cba.tar.xz
testing/emacs: unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/emacs/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/unmaintained/emacs/APKBUILD b/unmaintained/emacs/APKBUILD
new file mode 100644
index 0000000000..b158e846a3
--- /dev/null
+++ b/unmaintained/emacs/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=emacs
+pkgver=24.2
+pkgrel=0
+pkgdesc="GNU Emacs text editor"
+url="http://www.gnu.org/software/emacs/"
+arch="x86"
+license="GPLv3+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev ncurses-dev"
+install=""
+subpackages="$pkgname-doc"
+source="ftp://ftp.gnu.org/gnu/emacs/emacs-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/emacs-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-x=no \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="1676803a50e8adc817fdaaebb9234f14 emacs-24.2.tar.bz2"