summaryrefslogtreecommitdiff
path: root/pcr/cl-ppcre/PKGBUILD
blob: b136c4ac9583fd7e26242b7dc8532ae0a7ba0748 (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: mrshpot <mrshpot at gmail dot com>
# Contributor: veox <cy at wre dot ath dot cx>
# Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
# Contributor: Jonathan Friedman <jonf@gojon.com>
# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>

pkgname=cl-ppcre
pkgver=2.0.3
pkgrel=2
pkgdesc="Perl-compatible, portable regexp library for Common Lisp"
arch=('i686' 'x86_64')
url="http://www.weitz.de/cl-ppcre/"
license=('BSD')

depends=('common-lisp' 'cl-asdf')

install=cl-ppcre.install
source=('http://weitz.de/files/cl-ppcre.tar.gz' 'LICENSE')
md5sums=('bd5648fd3c8b6f89eea43f5b82b99aa1'
         'c6aa01dce26b45aa916329701a448d11')

build() {
    install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}
    install -d ${pkgdir}/usr/share/common-lisp/systems
    install -d ${pkgdir}/usr/share/licenses/${pkgname}

    cd ${srcdir}/${pkgname}-${pkgver}

    install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} \
        ${srcdir}/${pkgname}-${pkgver}/*.lisp
    install -m 644 -t ${pkgdir}/usr/share/common-lisp/source/${pkgname} \
        ${srcdir}/${pkgname}-${pkgver}/*.asd
    install -m 644 ${srcdir}/LICENSE \
        ${pkgdir}/usr/share/licenses/${pkgname}

    cd ${pkgdir}/usr/share/common-lisp/systems
    ln -s ../source/${pkgname}/${pkgname}.asd .
    ln -s ../source/${pkgname}/${pkgname}-unicode.asd .
}

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