diff options
Diffstat (limited to 'emacs/Pkgfile')
| -rw-r--r-- | emacs/Pkgfile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/emacs/Pkgfile b/emacs/Pkgfile new file mode 100644 index 0000000..fb8c5d7 --- /dev/null +++ b/emacs/Pkgfile | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | # Description: An extensible, customizable, free/libre text editor -- and more. | ||
| 2 | # URL: https://www.gnu.org/software/emacs/ | ||
| 3 | # Maintainer: Shokara Kou, kou at 13f0 dot net | ||
| 4 | # Depends on: giflib gnutls harfbuzz libjpeg-turbo libpng libxml2 sqlite3 xorg-libxaw xorg-libxcb xorg-libxinput xorg-libxpm xorg-libxpm zlib | ||
| 5 | # Optional: texinfo xorg-libxfixes xorg-libxinerama xorg-libxrandr | ||
| 6 | |||
| 7 | name=emacs | ||
| 8 | version=30.2 | ||
| 9 | release=1 | ||
| 10 | source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) | ||
| 11 | |||
| 12 | build() { | ||
| 13 | cd $name-$version | ||
| 14 | |||
| 15 | ./configure \ | ||
| 16 | --prefix=/usr \ | ||
| 17 | --without-all \ | ||
| 18 | --with-x \ | ||
| 19 | --with-x-toolkit=athena \ | ||
| 20 | --with-dumping=none \ | ||
| 21 | --with-gif \ | ||
| 22 | --with-gnutls \ | ||
| 23 | --with-jpeg \ | ||
| 24 | --with-modules \ | ||
| 25 | --with-png \ | ||
| 26 | --with-sqlite3 \ | ||
| 27 | --with-threads \ | ||
| 28 | --with-xft \ | ||
| 29 | --with-xpm \ | ||
| 30 | --with-zlib \ | ||
| 31 | --without-dbus \ | ||
| 32 | --without-gpm \ | ||
| 33 | --without-gsettings \ | ||
| 34 | --without-lcms2 \ | ||
| 35 | --without-libotf \ | ||
| 36 | --without-libsystemd \ | ||
| 37 | --without-libtiff \ | ||
| 38 | --without-m17n-flt \ | ||
| 39 | --without-pgtk \ | ||
| 40 | --without-rsvg \ | ||
| 41 | --without-selinux \ | ||
| 42 | --without-toolkit-scroll-bars \ | ||
| 43 | --without-webp \ | ||
| 44 | --without-xim | ||
| 45 | #--with-native-compilation \ | ||
| 46 | #--with-harfbuzz \ | ||
| 47 | |||
| 48 | make | ||
| 49 | make DESTDIR=$PKG install | ||
| 50 | |||
| 51 | rm -fr $PKG/usr/share/doc | ||
| 52 | rm -fr $PKG/usr/lib | ||
| 53 | } | ||
