# Contributor: Patrick Palka # Contributor: Fabio Pozzim # Contributor: Nathan Owe # Maintainer: Stefan Husmann pkgname=tramp pkgver=2.3.1 pkgrel=1 pkgdesc="emacs extension that provides transparent remote file editing" arch=('any') url=http://www.gnu.org/software/tramp/ license=('GPL') makedepends=('emacs' 'texinfo') # add texlive-core to the makedepends and comment in the last two lines # of this PKGBUILD if you want the documentation in dvi-format source=("ftp://ftp.gnu.org/gnu/tramp/$pkgname-$pkgver.tar.gz") md5sums=('37f9591bc8031254dd45a99b1ad20dd4') install=tramp.install prepare() { cd "$pkgname-$pkgver/texi" ln -s /usr/share/automake-1.15/texinfo.tex texinfo.tex } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --with-contrib make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install mv $pkgdir/usr/share/info/$pkgname $pkgdir/usr/share/info/$pkgname-new # install -Dm644 texi/$pkgname.dvi \ # $pkgdir/usr/share/doc/$pkgname/$pkgname.dvi }