summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5321f5732523316745f532a3380cdeafb3796be5 (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
# Maintainer : Antoine Carpentier
pkgname=asdf
pkgver=3.3.3.3
pkgrel=1
pkgdesc="A build facility for Common Lisp"
arch=('any')
url="https://common-lisp.net/project/asdf/"
license=("mit")
optdepends=('sbcl' 'ccl-svn')
source=("git+https://gitlab.common-lisp.net/$pkgname/$pkgname.git")
sha256sums=('SKIP')
install=$pkgname.install

build()
{
  cd "$srcdir/$pkgname"
  sh make-asdf.sh 
}

package()
{
  mkdir -p $pkgdir/usr/lib/$pkgname
  install -m 644 "$srcdir/$pkgname/build/asdf.lisp" "$pkgdir/usr/lib/$pkgname/asdf.lisp"
  mkdir -p $pkgdir/etc/default
  echo -ne "(load \"/usr/lib/$pkgname/asdf\")\n" > $pkgdir/etc/default/$pkgname
}

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