summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Bunkus2016-10-05 19:42:20 +0200
committerMoritz Bunkus2016-10-05 19:42:20 +0200
commit09a16eb3876ded3c72440a727ba4bc97c849e042 (patch)
tree0d70592aad0f87c2fbe5b5b358c4fd9e0099bdcb
downloadaur-09a16eb3876ded3c72440a727ba4bc97c849e042.tar.gz
initial version
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD45
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2e266ee7cc3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed Oct 5 17:40:53 UTC 2016
+pkgbase = perl-net-sip
+ pkgdesc = SIP (Voice Over IP, RFC3261) packet handling
+ pkgver = 0.687
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Net-SIP
+ arch = any
+ license = PerlArtistic
+ depends = perl-net-dns
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/Net-SIP-0.687.tar.gz
+ sha512sums = 3356e4662eb931f5cbbf611cd9ad88e17bfd4b6a05b882062d7410829e48c4f0de323451da2a9e422f37ef207716ccc6dd5d3e465289b39bfe5cd8f0957e3f4f
+
+pkgname = perl-net-sip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3d62155f125
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Moritz Bunkus <moritz@bunkus.org>
+
+pkgname='perl-net-sip'
+pkgver='0.687'
+pkgrel='1'
+pkgdesc="SIP (Voice Over IP, RFC3261) packet handling"
+arch=('any')
+license=('PerlArtistic')
+options=('!emptydirs')
+depends=('perl-net-dns')
+url='http://search.cpan.org/dist/Net-SIP'
+source=("http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/Net-SIP-${pkgver}.tar.gz")
+sha512sums=('3356e4662eb931f5cbbf611cd9ad88e17bfd4b6a05b882062d7410829e48c4f0de323451da2a9e422f37ef207716ccc6dd5d3e465289b39bfe5cd8f0957e3f4f')
+
+prepare_environment() {
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+ cd "${srcdir}/Net-SIP-${pkgver}"
+}
+
+build() {
+ prepare_environment
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ prepare_environment
+ make test
+}
+
+package() {
+ prepare_environment
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: