aboutsummaryrefslogtreecommitdiffstats
path: root/cedilla/PKGBUILD
blob: 460f2fdf3f8602d0037ece3d08ad2595ea7a7fd3 (plain) (blame)
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
42
# Maintainer: Yaohan Chen <yaohan.chen@gmail.com>
pkgname=cedilla
pkgver=0.6
pkgrel=1
pkgdesc="a simple text printer that uses Unicode internally"
arch=(any)
url="http://www.pps.jussieu.fr/~jch/software/cedilla/"
license=('GPL')
groups=()
depends=(clisp texlive-core)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('007948ffdec8ff4202ec5efff364ea22')

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

  ./compile-cedilla
}

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

  # the install-cedilla script would not find the man path in fakeroot, so
  # we need to create the dirs for it
  source cedilla-config
  mkdir -p $pkgdir/$MANDIR

  TARGET=$pkgdir ./install-cedilla
  sed -i -e 's/texmf-tetex/texmf-dist/g' $pkgdir/etc/cedilla-config.lisp
}

# vim:set ts=2 sw=2 et: