# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
setvar pkgname = 'perl-class-gomor'
setvar _realname = 'Class-Gomor'
setvar pkgver = '1.02'
setvar pkgrel = '0'
setvar pkgdesc = ""Another class and object builder""
setvar url = ""http://search.cpan.org/~gomor/Class-Gomor-1.02/""
setvar arch = ""noarch""
setvar license = ""PerlArtistic""
setvar depends = ""perl""
setvar depends_dev = """"
setvar makedepends = ""perl-dev""
setvar install = """"
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/$_realname-$pkgver.tar.gz""
setvar _builddir = ""$srcdir"/$_realname-$pkgver"

proc build {
	cd $_builddir'
	PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

proc package {
	cd $_builddir
	make DESTDIR="$pkgdir" install || return 1
	find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete
}

setvar md5sums = ""287c3b3be72fcb4a4089fe232b8b1002  Class-Gomor-1.02.tar.gz""