[arch-commits] Commit in perl-xml-simple/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:26:53 UTC 2019
Date: Saturday, May 25, 2019 @ 09:26:53
Author: foutrelis
Revision: 354100
archrelease: copy trunk to staging-any
Added:
perl-xml-simple/repos/staging-any/
perl-xml-simple/repos/staging-any/PKGBUILD
(from rev 354099, perl-xml-simple/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-xml-simple/repos/staging-any/PKGBUILD (from rev 354099, perl-xml-simple/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 09:26:53 UTC (rev 354100)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: kleptophobiac at gmail.com
+
+pkgname=perl-xml-simple
+_realname=XML-Simple
+pkgver=2.25
+pkgrel=3
+pkgdesc="Simple XML parser for perl"
+arch=('any')
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl-xml-sax-expat')
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz")
+sha512sums=('0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list