[arch-commits] Commit in perl-fuse/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Aug 24 13:02:32 UTC 2017
Date: Thursday, August 24, 2017 @ 13:02:31
Author: foutrelis
Revision: 253208
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-fuse/repos/community-staging-i686/
perl-fuse/repos/community-staging-i686/PKGBUILD
(from rev 253207, perl-fuse/trunk/PKGBUILD)
perl-fuse/repos/community-staging-i686/build-fix.patch
(from rev 253207, perl-fuse/trunk/build-fix.patch)
perl-fuse/repos/community-staging-x86_64/
perl-fuse/repos/community-staging-x86_64/PKGBUILD
(from rev 253207, perl-fuse/trunk/PKGBUILD)
perl-fuse/repos/community-staging-x86_64/build-fix.patch
(from rev 253207, perl-fuse/trunk/build-fix.patch)
------------------------------------------+
community-staging-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++
community-staging-i686/build-fix.patch | 13 +++++++++
community-staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++
community-staging-x86_64/build-fix.patch | 13 +++++++++
4 files changed, 108 insertions(+)
Copied: perl-fuse/repos/community-staging-i686/PKGBUILD (from rev 253207, perl-fuse/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-24 13:02:31 UTC (rev 253208)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Tom K <tomk at runbox.com>
+
+pkgname=perl-fuse
+pkgver=0.16.1
+pkgrel=6
+pkgdesc="write filesystems in Perl using FUSE"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Fuse"
+depends=('perl' 'fuse2')
+license=('GPL')
+source=(http://search.cpan.org/CPAN/authors/id/D/DP/DPATES/Fuse-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('29534329808d8cf42fc78ca26c6fa698'
+ '16d985400e620286efdf4610d78cb5d6')
+
+prepare() {
+ cd "$srcdir"/Fuse-$pkgver
+# patch -p1 <"$srcdir"/build-fix.patch
+}
+
+build() {
+ cd "$srcdir"/Fuse-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Fuse-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: perl-fuse/repos/community-staging-i686/build-fix.patch (from rev 253207, perl-fuse/trunk/build-fix.patch)
===================================================================
--- community-staging-i686/build-fix.patch (rev 0)
+++ community-staging-i686/build-fix.patch 2017-08-24 13:02:31 UTC (rev 253208)
@@ -0,0 +1,13 @@
+diff -wbBur Fuse-0.16/Fuse.xs Fuse-0.16.q/Fuse.xs
+--- Fuse-0.16/Fuse.xs 2013-09-13 06:16:35.000000000 +0400
++++ Fuse-0.16.q/Fuse.xs 2013-10-29 14:38:44.000000000 +0400
+@@ -754,6 +754,9 @@
+
+ int _PLfuse_release (const char *file, struct fuse_file_info *fi) {
+ int rv;
++#ifndef PERL_HAS_64BITINT
++ char *temp;
++#endif
+ int flags = fi->flags;
+ FUSE_CONTEXT_PRE;
+ DEBUGf("release begin\n");
Copied: perl-fuse/repos/community-staging-x86_64/PKGBUILD (from rev 253207, perl-fuse/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-08-24 13:02:31 UTC (rev 253208)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Tom K <tomk at runbox.com>
+
+pkgname=perl-fuse
+pkgver=0.16.1
+pkgrel=6
+pkgdesc="write filesystems in Perl using FUSE"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Fuse"
+depends=('perl' 'fuse2')
+license=('GPL')
+source=(http://search.cpan.org/CPAN/authors/id/D/DP/DPATES/Fuse-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('29534329808d8cf42fc78ca26c6fa698'
+ '16d985400e620286efdf4610d78cb5d6')
+
+prepare() {
+ cd "$srcdir"/Fuse-$pkgver
+# patch -p1 <"$srcdir"/build-fix.patch
+}
+
+build() {
+ cd "$srcdir"/Fuse-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Fuse-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: perl-fuse/repos/community-staging-x86_64/build-fix.patch (from rev 253207, perl-fuse/trunk/build-fix.patch)
===================================================================
--- community-staging-x86_64/build-fix.patch (rev 0)
+++ community-staging-x86_64/build-fix.patch 2017-08-24 13:02:31 UTC (rev 253208)
@@ -0,0 +1,13 @@
+diff -wbBur Fuse-0.16/Fuse.xs Fuse-0.16.q/Fuse.xs
+--- Fuse-0.16/Fuse.xs 2013-09-13 06:16:35.000000000 +0400
++++ Fuse-0.16.q/Fuse.xs 2013-10-29 14:38:44.000000000 +0400
+@@ -754,6 +754,9 @@
+
+ int _PLfuse_release (const char *file, struct fuse_file_info *fi) {
+ int rv;
++#ifndef PERL_HAS_64BITINT
++ char *temp;
++#endif
+ int flags = fi->flags;
+ FUSE_CONTEXT_PRE;
+ DEBUGf("release begin\n");
More information about the arch-commits
mailing list