diff options
author | Pedro A. López-Valencia | 2021-06-05 13:50:39 -0500 |
---|---|---|
committer | Pedro A. López-Valencia | 2021-06-05 13:50:39 -0500 |
commit | dca21d899ec2b1390526a300c7a617a22165dbda (patch) | |
tree | 6cdad60a4f66846baf404cda72445697e1660156 /PKGBUILD | |
parent | e065d2a6c2cc1da1ff0faca0af78a4d89789e21f (diff) | |
download | aur-dca21d899ec2b1390526a300c7a617a22165dbda.tar.gz |
* Change behavior of changing directory ownership during packaging
to a post_install routine. Thus, builds can be chrooted.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -59,7 +59,7 @@ if [[ $CLI == "YES" ]] ; then else pkgname="emacs-git" fi -pkgver=28.0.50.148045 +pkgver=28.0.50.148607 pkgrel=1 pkgdesc="GNU Emacs. Development master branch." arch=('x86_64') @@ -71,10 +71,11 @@ makedepends=('git') provides=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox') conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox') replaces=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox') -source=("emacs-git::git://git.savannah.gnu.org/emacs.git") +#source=("emacs-git::git://git.savannah.gnu.org/emacs.git") # If Savannah fails for reasons, use Github's mirror -#source=("emacs-git::git://github.com/emacs-mirror/emacs.git") +source=("emacs-git::git://github.com/emacs-mirror/emacs.git") options=(!strip) +install="$pkgname".install b2sums=('SKIP') ################################################################################ @@ -305,13 +306,15 @@ package() { if [[ $DOCS_PDF == "YES" ]]; then make DESTDIR="$pkgdir/" install-pdf; fi # fix user/root permissions on usr/share files - find "$pkgdir"/usr/share/emacs/ | xargs chown root:root + # MOVED to install script + # find "$pkgdir"/usr/share/emacs/ | xargs chown root:root # fix permssions on /var/games mkdir -p "$pkgdir"/var/games/emacs chmod 775 "$pkgdir"/var/games chmod 775 "$pkgdir"/var/games/emacs - chown -R root:games "$pkgdir"/var/games + # MOVED to install script + # chown -R root:games "$pkgdir"/var/games } |