aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-24 23:34:52 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-26 18:05:24 +0000
commitcc2af8d39597890e0f64640eb1b9929f774515f8 (patch)
treed16e4fdea8fea075d50ff97160dbc73c4c24d2a0
parentc875a826a9180d3d0f61a3f1b9edaa5438c1eadf (diff)
downloadaports-cc2af8d39597890e0f64640eb1b9929f774515f8.tar.gz
aports-cc2af8d39597890e0f64640eb1b9929f774515f8.tar.bz2
aports-cc2af8d39597890e0f64640eb1b9929f774515f8.tar.xz
community/emacs: modernize
Closes GH-7408
-rw-r--r--community/emacs/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/community/emacs/APKBUILD b/community/emacs/APKBUILD
index ef01595104..474d8ce696 100644
--- a/community/emacs/APKBUILD
+++ b/community/emacs/APKBUILD
@@ -1,14 +1,13 @@
# Maintainer: stef <l0ls0fo2i@ctrlc.hu>
# Contributor: Timo Teräs <timo.teras@iki.fi>
-
pkgname=emacs
pkgver=26.2
-pkgrel=0
+pkgrel=1
pkgdesc="The extensible, customizable, self-documenting real-time display editor"
arch="all !aarch64"
depends="emacs-nox"
url="https://www.gnu.org/software/emacs/emacs.html"
-license="GPL-3.0"
+license="GPL-3.0-or-later"
makedepends="autoconf automake linux-headers paxmark gawk
librsvg-dev giflib-dev libxpm-dev gtk+2.0-dev alsa-lib-dev
glib-dev fontconfig-dev libpng-dev
@@ -20,11 +19,10 @@ source="ftp://ftp.gnu.org/gnu/emacs/emacs-$pkgver.tar.xz
prepare() {
cd "$builddir/$1"
- default_prepare || return 1
- ./autogen.sh || return 1
+ default_prepare
+ ./autogen.sh
}
-builddir="$srcdir/emacs-$pkgver"
_build_variant() {
cd "$builddir/$1"
shift
@@ -39,8 +37,7 @@ _build_variant() {
--localstatedir=/var \
--without-makeinfo \
--with-gameuser=:games \
- "${@}" \
- || return 1
+ "${@}"
make
}
@@ -70,7 +67,6 @@ _build_nox() {
}
build() {
- cd "$builddir"
mkdir -p nox
mv * nox || true
cp -a nox gtk2