summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdf8559ae4cc832ed3ec987ea6a6d278347c1242 (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
42
43
44
45
46
47
48
49
# Maintainer: Dacoda Strack <dacoda.strack@gmail.com>

pkgname=cl-vectors
pkgver=0.1.5
pkgrel=1
pkgdesc="Pure Common Lisp anti-aliasing rasterizer"
arch=('any')
url="http://projects.tuxee.net/cl-vectors/"
license=('MIT')
depends=()
# makedepends=()
# checkdepends=()
# optdepends=()
provides=()
conflicts=()
# replaces=()
# backup=()
# options=()
# install=
# changelog=
source=("git+https://github.com/fjolliton/cl-vectors.git#commit=0fda45f84b5cc35fb15e387f20a6b66fa8941a02")
# noextract=()
md5sums=(SKIP)
# validpgpkeys=()

pkgver() {
  cd ${pkgname}
  echo $(cat VERSION)
}

package() {
  cd ${pkgname}

  # install documentation
  install -d ${pkgdir}/usr/share/doc/$pkgname/
  install -m644 -t ${pkgdir}/usr/share/doc/$pkgname/ README 
  install -m644 -t ${pkgdir}/usr/share/doc/$pkgname/ MANIFEST

  # install sources
  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

  # link asd files
  cd ${pkgdir}/usr/share/common-lisp/systems
  ln -s ../source/${pkgname}/*.asd .
}