Switch to new download format
This commit is contained in:
@@ -1,9 +1,42 @@
|
|||||||
name: emacs
|
name: emacs
|
||||||
description: An extensible, customizable, free/libre text editor
|
description: An extensible, customizable, free/libre text editor
|
||||||
version: 30.2
|
version: "30.2"
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html
|
url: https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["acl","alsa-lib","dbus","fontconfig","freetype2","gmp","gnutls","gtk3","gdk-pixbuf","giflib","glib","gpm","harfbuzz","lcms2","libice","libjpeg-turbo","ncurses","libpng","librsvg","libsm","libtiff","libwebp","libxfixes","libxml2","pango","sqlite","tree-sitter","zlib"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- acl
|
||||||
|
- alsa-lib
|
||||||
|
- dbus
|
||||||
|
- fontconfig
|
||||||
|
- freetype2
|
||||||
|
- gmp
|
||||||
|
- gnutls
|
||||||
|
- gtk3
|
||||||
|
- gdk-pixbuf
|
||||||
|
- giflib
|
||||||
|
- glib
|
||||||
|
- gpm
|
||||||
|
- harfbuzz
|
||||||
|
- lcms2
|
||||||
|
- libice
|
||||||
|
- libjpeg-turbo
|
||||||
|
- ncurses
|
||||||
|
- libpng
|
||||||
|
- librsvg
|
||||||
|
- libsm
|
||||||
|
- libtiff
|
||||||
|
- libwebp
|
||||||
|
- libxfixes
|
||||||
|
- libxml2
|
||||||
|
- pango
|
||||||
|
- sqlite
|
||||||
|
- tree-sitter
|
||||||
|
- zlib
|
||||||
|
downloads:
|
||||||
|
- url: https://ftpmirror.gnu.org/gnu/emacs/emacs-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: b3f36f18a6dd2715713370166257de2fae01f9d38cfe878ced9b1e6ded5befd9
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://ftpmirror.gnu.org/gnu/emacs/emacs-${BPM_PKG_VERSION}.tar.xz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user