summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c215e948a4f0ed62a1e1d0277a536973e79fb4b2 (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
# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com>
pkgname=elisp-es
pkgver=20091212
_pkgver=1e8e9d693256
pkgrel=7
pkgdesc="An introduction to Emacs lisp (Spanish translation)"
arch=('any')
url="https://savannah.nongnu.org/git/?group=elisp-es"
license=('GPL')
makedepends=('texinfo' 'patch')
source=(http://hg.savannah.gnu.org/hgweb/$pkgname/archive/$_pkgver.tar.gz
        dircategory.patch)
md5sums=('6725111113858ec9a7f79923ad691585'
         'd235e09260336f73f530a9e94bde858e')

prepare() {
  cd "$srcdir/"
  patch -p1 -i dircategory.patch
}

build() {
  cd "$srcdir/$pkgname-$_pkgver"

  makeinfo --paragraph-indent=0 --no-split --force emacs-lisp-intro-es.texi
}

package() {
  cd "$srcdir/$pkgname-$_pkgver"

  tar -czf eintr-es.info.gz emacs-lisp-intro.info
  install -Dm644 eintr-es.info.gz $pkgdir/usr/share/info/eintr-es.info.gz
}