summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf064752b5e86bbc24d4418edf0f59b6589e0372 (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: sanlun <miwa at nc hyphen toyama dot ac dot jp>

pkgname=cl-closure-common-git
__pkgname=${pkgname%-git}
_pkgname=${__pkgname#cl-}
pkgver=r42.377f827
pkgrel=1
pkgdesc='Shared code for Closure XML and Closure HTML'
arch=('any')
url='https://cxml.common-lisp.dev/'
license=('BSD' 'custom:LLGPL')
depends=('common-lisp' 'cl-asdf' 'cl-trivial-gray-streams' 'cl-babel')
makedepends=('git')
provides=("$__pkgname")
conflicts=("$__pkgname")
source=('git+git://repo.or.cz/closure-common.git' 'LICENSE')
sha256sums=('SKIP'
            'a576d0daafc12603964073f349e188b49e18515e1fbd0c622014e5199759e0c5')

pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package(){
  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
  cd "$_pkgname"
  install -Dm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" *.{lisp,asd}
}