summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1d7f863dfebfd6f587bba59d2579b1c340ca190 (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
29
30
31
32
33
34
35
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: smallst <smallst@smallst.cn>
# Contributor:: LinRs <LinRs AT users.noreply.github.com>
# Contributor: Eric Bélanger <eric@archlinux.org>
# Contributor:: Stefan Husmann <stefan-husmann@t-online.de>

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 <mose@gnu.org>

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
}