diff options
author | oli | 2015-06-12 21:54:56 +0200 |
---|---|---|
committer | oli | 2015-06-12 21:54:56 +0200 |
commit | 22bcc2da272783b7fcc6e40dec6e22f68cec7a0b (patch) | |
tree | e397a2a04e21d2eed9b9a3b6bbada6807375c8b4 | |
download | aur-22bcc2da272783b7fcc6e40dec6e22f68cec7a0b.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9068274929c1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = perl-gnome2-print + pkgdesc = Perl wrappers for the Gnome Print utilities. + pkgver = 1.000 + pkgrel = 3 + url = http://search.cpan.org/~EBASSI/Gnome2-Print + arch = any + license = GPL + license = PerlArtistic + depends = perl + depends = libgnomeprintui + depends = perl-extutils-depends + depends = perl-extutils-pkgconfig + options = !emptydirs + source = http://www.cpan.org/authors/id/E/EB/EBASSI/Gnome2-Print-1.000.tar.gz + md5sums = 66578c2ffaebbe035a0735e65ad71c3f + +pkgname = perl-gnome2-print + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0edc24ac2a54 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Maintainer: Jozef Riha <jose1711 at gmail dot com> + +pkgname=perl-gnome2-print +_cpanname=Gnome2-Print +pkgver=1.000 +pkgrel=3 +pkgdesc="Perl wrappers for the Gnome Print utilities. " +arch=('any') +url="http://search.cpan.org/~EBASSI/${_cpanname}" +license=('GPL' 'PerlArtistic') +depends=('perl' 'libgnomeprintui' 'perl-extutils-depends' 'perl-extutils-pkgconfig') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/E/EB/EBASSI/${_cpanname}-${pkgver}.tar.gz) +md5sums=('66578c2ffaebbe035a0735e65ad71c3f') + +build() { + cd $srcdir/${_cpanname}-${pkgver} + sed -i '/^auto_install/d' Makefile.PL + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/${_cpanname}-${pkgver} + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |