mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
Add missing dep and update
This commit is contained in:
parent
7c9d365c48
commit
932f008f4d
@ -1,13 +1,9 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=perl-test-pod
|
||||
_realname=Test-Pod
|
||||
pkgver=1.45
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Check for POD errors in files"
|
||||
arch=(any)
|
||||
license=('GPL' 'PerlArtistic')
|
||||
|
32
perl-xml-sax-base/PKGBUILD
Normal file
32
perl-xml-sax-base/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Core packages for Chakra
|
||||
|
||||
pkgname=perl-xml-sax-base
|
||||
pkgver=1.08
|
||||
pkgrel=1
|
||||
pkgdesc="Base class SAX Drivers and Filters"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/dist/XML-SAX-Base"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
|
||||
md5sums=('38c8c3247dfd080712596118d70dbe32')
|
||||
|
||||
build() {
|
||||
cd $srcdir/XML-SAX-Base-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $srcdir/XML-SAX-Base-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/XML-SAX-Base-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
|
||||
find $pkgdir -name '.packlist' -delete
|
||||
find $pkgdir -name '*.pod' -delete
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=perl-xml-sax
|
||||
pkgver=0.96
|
||||
pkgrel=2
|
||||
pkgver=0.99
|
||||
pkgrel=1
|
||||
pkgdesc="Simple API for XML"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/dist/XML-SAX"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03')
|
||||
depends=('perl' 'perl-xml-sax-base' 'perl-xml-namespacesupport')
|
||||
options=('!emptydirs')
|
||||
install=perl-xml-sax.install
|
||||
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" 'perl-xml-sax.patch')
|
||||
md5sums=('bdcd4119a62505184e211e9dfaef0ab1'
|
||||
'b8ad2da4195ac0eede28dfaed4d874c3')
|
||||
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz"
|
||||
'perl-xml-sax.patch')
|
||||
md5sums=('290f5375ae87fdebfdb5bc3854019f24'
|
||||
'f114c4aad3221d3e7d8314d13b84a869')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
patch -p0 < perl-xml-sax.patch
|
||||
|
||||
cd $srcdir/XML-SAX-$pkgver
|
||||
patch -Np1 -i "${srcdir}/perl-xml-sax.patch"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $srcdir/XML-SAX-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
--- XML-SAX-0.96/Makefile.PL.orig 2008-08-04 23:07:21.000000000 +0200
|
||||
+++ XML-SAX-0.96/Makefile.PL 2008-12-09 11:52:24.806540909 +0100
|
||||
@@ -12,42 +12,3 @@
|
||||
--- a/Makefile.PL 2011-09-04 23:37:48.000000000 +0200
|
||||
+++ b/Makefile.PL 2011-10-07 18:12:50.000000000 +0200
|
||||
@@ -12,43 +12,3 @@
|
||||
'XML::NamespaceSupport' => 0.03,
|
||||
},
|
||||
);
|
||||
|
||||
-
|
||||
-sub MY::install {
|
||||
- package MY;
|
||||
- my $script = shift->SUPER::install(@_);
|
||||
|
@ -1,39 +1,39 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=perl-yaml-syck
|
||||
_realname=YAML-Syck
|
||||
pkgver=1.17
|
||||
pkgrel=2
|
||||
pkgver=1.20
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, lightweight YAML loader and dumper"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
url="http://search.cpan.org/dist/${_realname}/"
|
||||
depends=('perl>=5.10.0')
|
||||
options=('!emptydirs')
|
||||
source=(http://www.cpan.org/authors/id/A/AV/AVAR/${_realname}-$pkgver.tar.gz)
|
||||
md5sums=('f788529ad4b2c2fd037ccdfd5e7a88ab')
|
||||
source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz)
|
||||
md5sums=('8f6d04ee5817b8479e1234264a8d458d')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_realname}-$pkgver
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
|
||||
# install module in vendor directories.
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_realname}-$pkgver
|
||||
make install DESTDIR=${pkgdir}
|
||||
cd "${srcdir}/${_realname}-$pkgver"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
|
||||
# remove perllocal.pod and .packlist
|
||||
find ${pkgdir} -name perllocal.pod -delete
|
||||
find ${pkgdir} -name .packlist -delete
|
||||
find "${pkgdir}" -name perllocal.pod -delete
|
||||
find "${pkgdir}" -name .packlist -delete
|
||||
|
||||
# license.
|
||||
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
||||
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||
}
|
Loading…
Reference in New Issue
Block a user