summaryrefslogtreecommitdiff
path: root/pcr/cl-ppcre/PKGBUILD
blob: 884fc826db36c71bb671984ddfebe40c9d7e00ac (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
# Maintainer (Arch): Aaron France <aaron.l.france@gmail.com>
# Contributor (Arch): veox <cy at wre dot ath dot cx>
# Contributor (Arch): joyfulgirl <joyfulgirl (at) archlinux.us>
# Contributor (Arch): Jonathan Friedman <jonf@gojon.com>
# Contributor (Arch): Aaron France <aaron.l.france@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=cl-ppcre
pkgver=2.0.11
pkgrel=1
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=('$pkgname-$pkgver.tar.gz::http://weitz.de/files/cl-ppcre.tar.gz' 'LICENSE')

md5sums=('6d5250467c05eb661a76d395186a1da0'
         'c6aa01dce26b45aa916329701a448d11')

package() {
    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: