summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaHIY2015-08-20 23:52:24 +0800
committerJaHIY2015-08-20 23:52:24 +0800
commitc24059798d2d5ac341c2f679f5e1068006fc527a (patch)
tree62ebb19f17238c08275a062920e8344ef7cfcf78
downloadaur-c24059798d2d5ac341c2f679f5e1068006fc527a.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cef283b76af
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = perl-url-encode
+ pkgdesc = Encoding and decoding of application/x-www-form-urlencoded encoding.
+ pkgver = 0.03
+ pkgrel = 1
+ url = https://metacpan.org/release/URL-Encode
+ arch = any
+ license = PerlArtistic
+ makedepends = perl-test-simple>=0.88
+ makedepends = perl-extutils-makemaker>=6.59
+ depends = perl>=5.8.1
+ depends = perl-carp>=0
+ depends = perl-exporter>=0
+ depends = perl-xsloader>=0
+ provides = perl-url-encode-pp=0.03
+ options = !emptydirs
+ options = purge
+ source = http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/URL-Encode-0.03.tar.gz
+ sha256sums = 7295d7f07796b179131d9c0f230a6effa56d204de2f8dc72f2e09c61458c8ee6
+
+pkgname = perl-url-encode
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c59d88842b3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Kars Wang <jaklsy AT gmail.com>
+
+pkgname='perl-url-encode'
+pkgver=0.03
+pkgrel=1
+pkgdesc='Encoding and decoding of application/x-www-form-urlencoded encoding.'
+_dist='URL-Encode'
+arch=('any')
+url="https://metacpan.org/release/$_dist"
+license=('PerlArtistic')
+depends=('perl>=5.8.1' 'perl-carp>=0' 'perl-exporter>=0' 'perl-xsloader>=0')
+checkdepends=()
+makedepends=('perl-test-simple>=0.88' 'perl-extutils-makemaker>=6.59')
+provides=('perl-url-encode-pp=0.03')
+options=('!emptydirs' 'purge')
+source=("http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/$_dist-$pkgver.tar.gz")
+sha256sums=('7295d7f07796b179131d9c0f230a6effa56d204de2f8dc72f2e09c61458c8ee6')
+
+build() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+)
+
+package() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+)