blob: edf23605d1897c2ddb6ae04906c389e0a004ca7d (
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
|
# Maintainer: Yardena Cohen <yardenack at gmail dot com>
cpaname=CSS-Packer
cpanauthor=LEEJO
pkgname=perl-css-packer
pkgver=2.05
pkgrel=1
pkgdesc="Perl CSS::Packer CPAN module"
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=('perl' 'perl-test-simple' 'perl-regexp-reggrp')
makedepends=('perl-test-file-contents' 'perl-test-memory-cycle' 'perl-test-pod')
source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
sha256sums=('f798e49ed789d3a386ae15c506f09653217ea56fc9836f025d3a309e3d671d15')
build() {
cd "${srcdir}/${cpaname}-${pkgver}"
perl Makefile.PL
make
}
check() {
cd "${srcdir}/${cpaname}-${pkgver}"
make test
}
package () {
cd "${srcdir}/${cpaname}-${pkgver}"
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}
|