emacs: use create_wrksrc
This commit is contained in:
committed by
Đoàn Trần Công Danh
parent
c522b98410
commit
83cdc3715f
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user