mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
emacs: use create_wrksrc
This commit is contained in:
parent
c522b98410
commit
83cdc3715f
1 changed files with 5 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=emacs
|
||||
version=28.2
|
||||
revision=1
|
||||
create_wrksrc=required
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-file-notification=inotify --with-modules
|
||||
$(vopt_with jpeg) $(vopt_with tiff) $(vopt_with gif) $(vopt_with png)
|
||||
|
@ -48,13 +49,12 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*) build_options_default+=" nativecomp";;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
post_extract() {
|
||||
# Just configuring in different directories results in
|
||||
# spurious emacs rebuilds with incompatible build numbers.
|
||||
mkdir -p nox
|
||||
mv * nox || true
|
||||
cp -a nox x11
|
||||
cp -a nox gtk3
|
||||
cp -a emacs-* nox
|
||||
cp -a emacs-* x11
|
||||
cp -a emacs-* gtk3
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
|
|
Loading…
Add table
Reference in a new issue