blob: af528dd002a9423de084f49c5c8ea719644eb456 (
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
|
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
pkgname=perl-class-singleton
pkgver=1.5
pkgrel=2
pkgdesc="Implementation of a singleton class"
arch=('any')
url="http://search.cpan.org/dist/Class-Singleton"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/Class-Singleton-$pkgver.tar.gz")
md5sums=('6a2524f590eda075f4bc929598119241')
build() {
cd "$srcdir"/Class-Singleton-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir"/Class-Singleton-$pkgver
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
}
|