Commit 1b9fe2c2 authored by Rasmus Thomsen's avatar Rasmus Thomsen Committed by Natanael Copa

main/perl-io-multiplex: fix URL&License

* modernize
* run tests
parent 19a4e530
......@@ -3,32 +3,30 @@
pkgname=perl-io-multiplex
_realname=IO-Multiplex
pkgver=1.16
pkgrel=1
pkgrel=2
pkgdesc="Perl module to manage IO on many file handles"
url="http://search.cpan.org/~markov/IO-Multiplex/"
url="https://metacpan.org/pod/IO::Multiplex"
arch="noarch"
license="Artistic-Perl-1.0 GPL+"
license="Artistic-Perl-1.0 OR GPL-1.0-or-later"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BB/BBB/$_realname-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/B/BB/BBB/$_realname-$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd $_builddir
return 0
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
build() {
cd $_builddir
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
check() {
cd "$builddir"
make test
}
package() {
cd $_builddir
cd "$builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment