mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:57:16 +08:00
34 lines
793 B
Bash
34 lines
793 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
pkgname=perl-uri
|
|
_realname=URI
|
|
pkgver=1.64
|
|
pkgrel=1
|
|
pkgdesc="Uniform Resource Identifiers (absolute and relative)"
|
|
arch=('any')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
license=('PerlArtistic')
|
|
depends=('perl>=5.10.0')
|
|
provides=('perl-uri-escape=3.30')
|
|
options=('!emptydirs')
|
|
source=("http://cpan.metacpan.org/authors/id/E/ET/ETHER/${_realname}-${pkgver}.tar.gz")
|
|
md5sums=('975b2282bc8f0fd72a6dae5cefc33824')
|
|
|
|
build() {
|
|
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}"
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|