[arch-commits] Commit in (5 files)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 2 19:18:04 UTC 2016
Date: Thursday, June 2, 2016 @ 21:18:04
Author: spupykin
Revision: 177767
clean up
Modified:
opendmarc/trunk/PKGBUILD
perl-file-sharedir-install/trunk/PKGBUILD
perl-pegex/trunk/PKGBUILD
perl-unix-syslog/trunk/PKGBUILD
perl-yaml-libyaml/trunk/PKGBUILD
-------------------------------------------+
opendmarc/trunk/PKGBUILD | 5 -----
perl-file-sharedir-install/trunk/PKGBUILD | 14 +++++---------
perl-pegex/trunk/PKGBUILD | 21 ++++++---------------
perl-unix-syslog/trunk/PKGBUILD | 7 ++++---
perl-yaml-libyaml/trunk/PKGBUILD | 20 ++++++--------------
5 files changed, 21 insertions(+), 46 deletions(-)
Modified: opendmarc/trunk/PKGBUILD
===================================================================
--- opendmarc/trunk/PKGBUILD 2016-06-02 19:11:36 UTC (rev 177766)
+++ opendmarc/trunk/PKGBUILD 2016-06-02 19:18:04 UTC (rev 177767)
@@ -32,7 +32,6 @@
--bindir=/usr/bin \
--sbindir=/usr/bin \
--sysconfdir=/etc/$pkgname
-
make
}
@@ -44,7 +43,6 @@
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
-
# sample config
install -D -m644 "$srcdir"/$pkgname-$pkgver/$pkgname/opendmarc.conf.sample "$pkgdir"/etc/$pkgname/opendmarc.conf.sample
# License
@@ -52,7 +50,4 @@
rm "$pkgdir"/usr/share/doc/$pkgname/LICENSE
# systemd service
install -D -m644 "$srcdir/$pkgname.service" "${pkgdir}/usr/lib/systemd/system/$pkgname.service"
-
}
-
-# vim:set ts=2 sw=2 et:
Modified: perl-file-sharedir-install/trunk/PKGBUILD
===================================================================
--- perl-file-sharedir-install/trunk/PKGBUILD 2016-06-02 19:11:36 UTC (rev 177766)
+++ perl-file-sharedir-install/trunk/PKGBUILD 2016-06-02 19:18:04 UTC (rev 177767)
@@ -3,34 +3,30 @@
# Maintainer: Jason St. John <jstjohn .. purdue . edu>
# Contributor: AUR Perl <aurperl at juster.info>
-_perlmod=File-ShareDir-Install
-_modnamespace=File
pkgname=perl-file-sharedir-install
pkgver=0.10
pkgrel=1
pkgdesc="File::ShareDir::Install - Install read-only data files from a distribution"
arch=('any')
-url="http://search.cpan.org/dist/${_perlmod}"
+url="http://search.cpan.org/dist/File-ShareDir-Install"
license=('GPL' 'PerlArtistic')
checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
options=('!emptydirs')
-source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
+source=("http://cpan.org/modules/by-module/File/File-ShareDir-Install-${pkgver}.tar.gz")
md5sums=('37fb7fa72ce7184516dd022aba62f524')
build() {
- cd "${_perlmod}-${pkgver}"
-
- # Install module in vendor directories.
+ cd "File-ShareDir-Install-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${_perlmod}-${pkgver}"
+ cd "File-ShareDir-Install-${pkgver}"
make test
}
package() {
- cd "${_perlmod}-${pkgver}"
+ cd "File-ShareDir-Install-${pkgver}"
make install DESTDIR="${pkgdir}"
}
Modified: perl-pegex/trunk/PKGBUILD
===================================================================
--- perl-pegex/trunk/PKGBUILD 2016-06-02 19:11:36 UTC (rev 177766)
+++ perl-pegex/trunk/PKGBUILD 2016-06-02 19:18:04 UTC (rev 177767)
@@ -4,9 +4,8 @@
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-pegex'
-_distdir="Pegex-0.60"
-pkgver='0.60'
-pkgrel='1'
+pkgver=0.60
+pkgrel=1
pkgdesc="Acmeist PEG Parser Framework"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -14,7 +13,7 @@
depends=('perl-yaml-libyaml' 'perl-file-sharedir-install')
makedepends=()
url='https://metacpan.org/release/Pegex'
-source=('http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-0.60.tar.gz')
+source=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz")
md5sums=('347f72c1c0347148d80058ea35927df8')
build() {
@@ -23,8 +22,7 @@
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
-
- cd "$srcdir/$_distdir"
+ cd "$srcdir/Pegex-$pkgver"
/usr/bin/perl Makefile.PL
make
)
@@ -31,7 +29,7 @@
}
check() {
- cd "$srcdir/$_distdir"
+ cd "$srcdir/Pegex-$pkgver"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
@@ -38,14 +36,7 @@
}
package() {
- cd "$srcdir/$_distdir"
+ cd "$srcdir/Pegex-$pkgver"
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:
Modified: perl-unix-syslog/trunk/PKGBUILD
===================================================================
--- perl-unix-syslog/trunk/PKGBUILD 2016-06-02 19:11:36 UTC (rev 177766)
+++ perl-unix-syslog/trunk/PKGBUILD 2016-06-02 19:18:04 UTC (rev 177767)
@@ -1,8 +1,9 @@
# $Id$
# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
pkgname='perl-unix-syslog'
-pkgver='1.1'
-pkgrel="5"
+pkgver=1.1
+pkgrel=5
pkgdesc="Interface to syslog functions in a C-library"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -9,7 +10,7 @@
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/dist/Unix-Syslog'
-source=('http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz')
+source=("http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-$pkgver.tar.gz")
md5sums=('73d78e309fe9508ffc9a54d84d79aac9')
build() {
Modified: perl-yaml-libyaml/trunk/PKGBUILD
===================================================================
--- perl-yaml-libyaml/trunk/PKGBUILD 2016-06-02 19:11:36 UTC (rev 177766)
+++ perl-yaml-libyaml/trunk/PKGBUILD 2016-06-02 19:18:04 UTC (rev 177767)
@@ -4,9 +4,8 @@
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-yaml-libyaml'
-_distdir="YAML-LibYAML-0.62"
-pkgver='0.62'
-pkgrel='1'
+pkgver=0.62
+pkgrel=1
pkgdesc="Perl YAML Serialization using XS and libyaml"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -14,7 +13,7 @@
depends=('perl')
makedepends=()
url='https://metacpan.org/release/YAML-LibYAML'
-source=('http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/YAML-LibYAML-0.62.tar.gz')
+source=("http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/YAML-LibYAML-$pkgver.tar.gz")
md5sums=('e8e0ba8c9f589c809ee04bb526ae03d7')
build() {
@@ -23,8 +22,7 @@
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
-
- cd "$srcdir/$_distdir"
+ cd "$srcdir/YAML-LibYAML-$pkgver"
/usr/bin/perl Makefile.PL
make
)
@@ -31,7 +29,7 @@
}
check() {
- cd "$srcdir/$_distdir"
+ cd "$srcdir/YAML-LibYAML-$pkgver"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
@@ -38,13 +36,7 @@
}
package() {
- cd "$srcdir/$_distdir"
+ cd "$srcdir/YAML-LibYAML-$pkgver"
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:
More information about the arch-commits
mailing list