blob: 604c43666091e683b2474d4d9c382b7b092b7f71 (
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: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=clx-truetype
pkgver=20160701
pkgrel=2
pkgdesc="Use truetype fonts in common lisp"
arch=('any')
url="http://filonenko-mikhail.github.io/clx-truetype/"
license=('custom:unknown')
depends=('common-lisp' 'cl-zpb-ttf')
source=("git+https://github.com/filonenko-mikhail/clx-truetype.git#commit=c6e10a918d46632324d5863a8ed067a83fc26de8")
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
echo $(git log -1 --format="%cd" --date=short | sed 's|-||g')
}
package() {
cd ${pkgname}
install -d ${pkgdir}/usr/share/doc/$pkgname/
install -m644 doc/$pkgname.{pdf,html} ${pkgdir}/usr/share/doc/$pkgname/
install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}
install -d ${pkgdir}/usr/share/common-lisp/systems
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} *.lisp
install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} *.asd
cd ${pkgdir}/usr/share/common-lisp/systems
ln -s ../source/${pkgname}/${pkgname}.asd .
ln -s ../source/${pkgname}/${pkgname}-unicode.asd .
}
|