# Maintainer: Stephan Springer # Contributor: smallst # Contributor:: LinRs # Contributor: Eric Bélanger # Contributor:: Stefan Husmann pkgname=auctex pkgver=13.3 pkgrel=1 pkgdesc="An extensible package for writing and formatting TeX files in Emacs" arch=('any') url="https://www.gnu.org/software/auctex/" license=(GPL-3.0-only) depends=(emacs ghostscript texlive-latexextra) install=auctex.install source=("https://ftp.gnu.org/pub/gnu/auctex/$pkgname-$pkgver.tar.gz"{,.sig}) sha256sums=('4f7e57e1241a499f34861d59f3c4652fb47e3896c7a2768edbbbec1e54c91252' 'SKIP') validpgpkeys=('70CDE487C45540307F86972BE2FD58BF20485F50') # Mosè Giordano prepare() { cd "$pkgname-$pkgver" sed -i 's/as_fn_error $? "--with-texmf-dir=/echo as_fn_error $? "--with-texmf-dir=/' configure } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --localstatedir=/var --with-texmf-dir=/usr/share/texmf make } package() { cd "$pkgname-$pkgver" make DESTDIR="${pkgdir}" install }