summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-23 16:58:29 +0400
committerAnton Leontiev2015-02-15 07:48:01 +0300
commit71bdf7f2d30bbe29f98fcf48c96323c28d263609 (patch)
tree46e1cf1bf1b2cf1758bd208fd0163ea34ae57746
downloadaur-71bdf7f2d30bbe29f98fcf48c96323c28d263609.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD33
-rw-r--r--PKGBUILD.tt33
4 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1d30b4fc86e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = perl-io-handle-util
+ pkgdesc = Perl module with functions for working with IO::Handle like objects
+ pkgver = 0.01
+ pkgrel = 1
+ url = http://search.cpan.org/dist/IO-Handle-Util
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-test-use-ok
+ depends = perl
+ depends = perl-asa
+ depends = perl-io-string
+ depends = perl-sub-exporter
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/IO-Handle-Util-0.01.tar.gz
+ md5sums = ece953bc43c2e5914f92ec186cba0086
+
+pkgname = perl-io-handle-util
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e6b6b4b8077
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar.gz
+*.tar.bz2
+*.tar.xz
+*.tar.lz
+src/
+pkg/ \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1e4bca1060f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# CPAN Name : IO::Handle::Util
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator : CPANPLUS::Dist::Arch 1.13
+
+pkgname=perl-io-handle-util
+pkgver=0.01
+pkgrel=1
+pkgdesc="Perl module with functions for working with IO::Handle like objects"
+arch=("any")
+url="http://search.cpan.org/dist/IO-Handle-Util"
+license=("PerlArtistic" "GPL")
+depends=("perl" "perl-asa" "perl-io-string" "perl-sub-exporter")
+checkdepends=("perl-test-use-ok")
+source=(http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/IO-Handle-Util-0.01.tar.gz)
+options=(!emptydirs)
+md5sums=("ece953bc43c2e5914f92ec186cba0086")
+
+build() {
+ cd "$srcdir/IO-Handle-Util-0.01"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/IO-Handle-Util-0.01"
+ make test
+}
+
+package() {
+ cd "$srcdir/IO-Handle-Util-0.01"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
diff --git a/PKGBUILD.tt b/PKGBUILD.tt
new file mode 100644
index 00000000000..5a33bc55306
--- /dev/null
+++ b/PKGBUILD.tt
@@ -0,0 +1,33 @@
+# CPAN Name : IO::Handle::Util
+# Contributor: [% packager %]
+# Generator : CPANPLUS::Dist::Arch [% version %]
+
+pkgname=[% pkgname %]
+pkgver=[% pkgver %]
+pkgrel=[% pkgrel %]
+pkgdesc="Perl module with functions for working with IO::Handle like objects"
+arch=("any")
+url="[% url %]"
+license=("PerlArtistic" "GPL")
+depends=("perl" "perl-asa" "perl-io-string" "perl-sub-exporter")
+checkdepends=("perl-test-use-ok")
+source=([% source %])
+options=(!emptydirs)
+md5sums=("[% md5sums %]")
+
+build() {
+ cd "$srcdir/[% distdir %]"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/[% distdir %]"
+ make test
+}
+
+package() {
+ cd "$srcdir/[% distdir %]"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}