blob: 92647a412e8e8271ba6fa751d513a7eb8b40526b (
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
36
37
38
39
40
41
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=auctex-git
pkgver=11.90.102.gf676608d
pkgrel=1
pkgdesc="TeX/LaTeX writing environment for Emacs - git checkout"
arch=('any')
url="http://savannah.gnu.org/projects/auctex"
license=('GPL3')
depends=('texlive-core' 'emacs')
makedepends=('git' 'texinfo' 'perl')
provides=('auctex')
conflicts=('auctex')
install=auctex.install
backup=(var/auctex/.nosearch)
options=('!makeflags')
source=('git://git.sv.gnu.org/auctex.git')
md5sums=('SKIP')
_gitname='auctex'
pkgver() {
cd $srcdir/$_gitname
git describe --tags | cut -c9- | sed 's+[_-]+.+g'
}
prepare() {
cd $srcdir/$_gitname
cp ChangeLog.1 ChangeLog
}
build() {
cd "$srcdir/$_gitname"
./autogen.sh
./configure --prefix=/usr --localstatedir=/var \
--with-texmf-dir=$(dirname $(kpsewhich texmf.cnf))
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir" install
}
|