[arch-dev-public] [arch-commits] Commit in (42 files)

Sergej Pupykin ml at sergej.pp.ru
Tue Jun 2 23:10:42 UTC 2015


Thanks. I already saw it. All uploaded packages should be ok.

Florian Pritz <bluewind at xinu.at> wrote:

>On 02.06.2015 18:32, Sergej Pupykin wrote:
>> Modified: perl-berkeleydb/trunk/PKGBUILD
>> ===================================================================
>> --- perl-berkeleydb/trunk/PKGBUILD	2015-06-02 16:32:35 UTC (rev 134558)
>> +++ perl-berkeleydb/trunk/PKGBUILD	2015-06-02 16:32:53 UTC (rev 134559)
>> @@ -22,6 +22,15 @@
>>  }
>>  
>>  package() {
>> +# 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;
>> +
>> +
>>    _dbver1=`pacman -Q db | cut -d\  -f2 | cut -d- -f1 | cut -f1 -d.`
>>    _dbver2=`pacman -Q db | cut -d\  -f2 | cut -d- -f1 | cut -f2 -d.`
>>    depends=('perl' "db>=${_dbver1}.${_dbver2}" "db<${_dbver1}.$(expr $_dbver2 + 1)")
>
>Please include the template at the end of the package() function. It
>checks for .so files in $pkgdir and won't find any if it's at the beginning.
>


More information about the arch-dev-public mailing list