From a9e792633e1ce160aeff1c156a2aec19cb2295af Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sun, 17 Jul 2011 13:45:51 -0700
Subject: perl-sgml:Initial inclusion

---
 abs/extra/perl-sgmls/PKGBUILD                      |  34 +++++++++++++++++++++
 abs/extra/perl-sgmls/__changelog                   |   1 +
 .../perl-sgmls/perl-sgmls-1.03ii-4.src.tar.gz      | Bin 0 -> 735 bytes
 3 files changed, 35 insertions(+)
 create mode 100644 abs/extra/perl-sgmls/PKGBUILD
 create mode 100644 abs/extra/perl-sgmls/__changelog
 create mode 100644 abs/extra/perl-sgmls/perl-sgmls-1.03ii-4.src.tar.gz

diff --git a/abs/extra/perl-sgmls/PKGBUILD b/abs/extra/perl-sgmls/PKGBUILD
new file mode 100644
index 0000000..3fd816b
--- /dev/null
+++ b/abs/extra/perl-sgmls/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 22119 2010-07-19 15:47:35Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=perl-sgmls
+pkgver=1.03ii
+pkgrel=4
+pkgdesc="A Post-Processor for SGMLS and NSGMLS"
+arch=('any')
+url="http://search.cpan.org/dist/SGMLSpm"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs' 'docs')
+source=(http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-$pkgver.tar.gz)
+md5sums=('5bcb197fd42e67d51c739b1414d514a7')
+
+build() {
+  cd  $srcdir/SGMLSpm
+
+  mkdir -p $pkgdir/usr/bin $pkgdir/usr/lib/perl5/vendor_perl $pkgdir/usr/share/doc/perl-sgmls
+
+  patch Makefile <<EOF
+84a85
+> 	find \${HTMLDIR} -type l -exec rm -f {} \;
+EOF
+
+  make install install_html \
+    BINDIR=$pkgdir/usr/bin \
+    PERL5DIR=$pkgdir/usr/lib/perl5/vendor_perl \
+    HTMLDIR=$pkgdir/usr/share/doc/perl-sgmls || return 1
+
+  find $pkgdir -name '.packlist' -delete
+  find $pkgdir -name '*.pod' -delete
+}
diff --git a/abs/extra/perl-sgmls/__changelog b/abs/extra/perl-sgmls/__changelog
new file mode 100644
index 0000000..632f625
--- /dev/null
+++ b/abs/extra/perl-sgmls/__changelog
@@ -0,0 +1 @@
+7/17/11 - chw - Removed "force" from options in PKGBUILD
diff --git a/abs/extra/perl-sgmls/perl-sgmls-1.03ii-4.src.tar.gz b/abs/extra/perl-sgmls/perl-sgmls-1.03ii-4.src.tar.gz
new file mode 100644
index 0000000..317169f
Binary files /dev/null and b/abs/extra/perl-sgmls/perl-sgmls-1.03ii-4.src.tar.gz differ
-- 
cgit v0.12

