blob: 8f52e4a43d157b9aa0297ee5b85a4dcace20aaf3 (
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
|
# Maintainer: Julian DeMille <jtdemille@demilletech.net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Jimmy Aguilar <spacibba@aol.com>
# Contributor: Fabian Brosda <fabi3141@gmx.de>
pkgname=cl-alexandria-git
_pkgname=${pkgname#cl-}
_pkgname=${_pkgname%-git}
pkgver=r264.f35e232
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgrel=1
pkgdesc="A set of common-lisp help functions"
arch=('any')
url="https://common-lisp.net/project/alexandria/"
license=('custom')
source=('git+https://gitlab.common-lisp.net/alexandria/alexandria.git')
md5sums=('SKIP')
makedepends=('git')
depends=('common-lisp' 'cl-asdf')
conflicts=('cl-alexandria')
provides=('cl-alexandria')
package() {
cd ${_pkgname}
install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
install -d "$pkgdir"/usr/share/common-lisp/source/${_pkgname}
install -d "$pkgdir"/usr/share/common-lisp/source/${_pkgname}/${_pkgname}-1
install -d "$pkgdir"/usr/share/common-lisp/source/${_pkgname}/${_pkgname}-2
install -d "$pkgdir"/usr/share/common-lisp/systems
install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname}/${_pkgname}-1 ${_pkgname}-1/*.lisp
install -m 644 -t "$pkgdir"/usr/share/common-lisp/source/${_pkgname}/${_pkgname}-2 ${_pkgname}-2/*.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}.asd $pkgname-unicode.asd
}
|