summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2015-06-29 19:07:55 +0200
committerChristian Hesse2015-06-29 19:07:55 +0200
commit5f7ce7ca59f2dcf59a33670d2f7c81011a0f2faf (patch)
treebcc2441e12c50343a1b65264d00a3db0b8f71a83
downloadaur-5f7ce7ca59f2dcf59a33670d2f7c81011a0f2faf.tar.gz
initial import of perl-svg 2.59-2
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..390daa56740
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = perl-svg
+ pkgdesc = Perl extension for generating Scalable Vector Graphics (SVG) documents
+ pkgver = 2.59
+ pkgrel = 2
+ url = http://search.cpan.org/dist/SVG/
+ arch = any
+ license = perl
+ makedepends = perl-extutils-makemaker
+ provides = perl-svg-dom=2.59
+ provides = perl-svg-element=2.59
+ provides = perl-svg-extension=2.59
+ provides = perl-svg-manual=2.59
+ provides = perl-svg-xml=2.59
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/SVG-2.59.tar.gz
+ sha256sums = e1e60e590718c2de5bda17a76283fdeb137761b69da2121c03d9630257e8ba3a
+
+pkgname = perl-svg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bf3e68d11b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+# Contributor: John Gerritse <reaphsharc@gmail.com>
+
+pkgname=perl-svg
+pkgver=2.59
+pkgrel=2
+pkgdesc="Perl extension for generating Scalable Vector Graphics (SVG) documents"
+arch=(any)
+url="http://search.cpan.org/dist/SVG/"
+license=('perl')
+makedepends=('perl-extutils-makemaker')
+provides=("perl-svg-dom=${pkgver}" "perl-svg-element=${pkgver}" "perl-svg-extension=${pkgver}" "perl-svg-manual=${pkgver}" "perl-svg-xml=${pkgver}")
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/SVG-${pkgver}.tar.gz")
+sha256sums=('e1e60e590718c2de5bda17a76283fdeb137761b69da2121c03d9630257e8ba3a')
+
+build() {
+ cd SVG-${pkgver}/
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd SVG-${pkgver}/
+
+ make install DESTDIR="${pkgdir}"
+
+ # remove perllocal.pod and .packlist
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
+}
+