[arch-commits] Commit in perl-xml-filter-buffertext/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:08:10 UTC 2018
Date: Friday, November 9, 2018 @ 22:08:10
Author: felixonmars
Revision: 404855
archrelease: copy trunk to community-staging-any
Added:
perl-xml-filter-buffertext/repos/community-staging-any/
perl-xml-filter-buffertext/repos/community-staging-any/PKGBUILD
(from rev 404854, perl-xml-filter-buffertext/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-xml-filter-buffertext/repos/community-staging-any/PKGBUILD (from rev 404854, perl-xml-filter-buffertext/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 22:08:10 UTC (rev 404855)
@@ -0,0 +1,31 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Ondrej Kucera <ondrej.kucera at centrum.cz>
+
+pkgname=perl-xml-filter-buffertext
+pkgver=1.01
+pkgrel=8
+pkgdesc="XML-Filter-BufferText perl module (filter to put all characters() in one event)"
+arch=("any")
+url="http://search.cpan.org/dist/XML-Filter-BufferText/"
+license=("GPL" "PerlArtistic")
+depends=('perl>=5.10.0' 'perl-xml-sax')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-$pkgver.tar.gz)
+md5sums=('2992c0387632583b966ab9c965b25512')
+
+build() {
+ cd "$srcdir"/XML-Filter-BufferText-${pkgver}
+ # Install module into the vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+
+package() {
+ cd "$srcdir"/XML-Filter-BufferText-${pkgver}
+ make DESTDIR="$pkgdir" install
+
+ # Remove .packlist and perllocal.pod files.
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name 'perllocal.pod' -delete
+}
More information about the arch-commits
mailing list