mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:57:14 +08:00
28 lines
700 B
Bash
28 lines
700 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
pkgname=perl-uri
|
|
_realname=URI
|
|
pkgver=1.59
|
|
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://search.cpan.org/CPAN/authors/id/G/GA/GAAS/${_realname}-$pkgver.tar.gz)
|
|
md5sums=('fecebf8fa20e2d26ea4a1649c095e96e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_realname}-$pkgver"
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}-$pkgver"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|