blob: 05a226c79c7d56bfab55e508f2c49380f8ea0bc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Méril Pilon <meril at mailfence dot com>
pkgname=emacs-gcc-wayland-devel-bin
pkgver=28.0.50.146273
pkgrel=1
pkgdesc="GNU Emacs. Development native-comp branch and pgtk branch combined, served as a binary."
arch=('x86_64')
url="http://www.gnu.org/software/emacs/"
license=('GPL3')
depends=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'libotf' 'harfbuzz' 'gpm' 'libgccjit' 'webkit2gtk')
provides=('emacs' 'emacs-seq')
conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-git' 'emacs-seq')
replaces=('emacs26-git' 'emacs27-git' 'emacs-git' 'emacs-seq')
source=("https://github.com/mpsq/emacs-gcc-wayland-devel-builder/releases/download/$pkgver/$pkgver.tar.gz")
sha512sums=("39fb90826b6e6c29f747652de46cda4b969eef20b3ed26ee641238a0e14b3f976138e06b78fa5514883c3949c0e5cb9f2d94eb426029415a317ae5815ffcbd4f")
package() {
cp -r usr/ $pkgdir/
cp -r var/ $pkgdir/
# fix user/root permissions on usr/share files
find "$pkgdir"/usr/share/emacs/ | xargs chown root:root
# fix permssions on /var/games
chmod 775 -R "$pkgdir"/var/games
chmod 775 -R "$pkgdir"/var/games/emacs
chown -R root:games "$pkgdir"/var/games
}
|