diff options
author | Krzysztof (3ED) AS | 2015-07-02 10:03:49 +0200 |
---|---|---|
committer | Krzysztof (3ED) AS | 2015-07-02 10:03:49 +0200 |
commit | c5a3b2be3ce818323f127df3e0e965285c252576 (patch) | |
tree | 80e557b1e4c37b15bb75ca40141220f20472ecfd | |
download | aur-c5a3b2be3ce818323f127df3e0e965285c252576.tar.gz |
moving files, making space for additional scripts, aur4 and other stuff
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a686e1def0bb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-time-out + pkgdesc = Easily timeout long running operations + pkgver = 0.11 + pkgrel = 1 + url = https://metacpan.org/release/Time-Out + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = https://cpan.metacpan.org/authors/id/P/PA/PATL/Time-Out-0.11.tar.gz + sha512sums = 707f113bf3d6c607f8e945d0bd89e9b035eebd7df79e3d8f62eea9e344bebfdce7d9165bfaf20c6267e68e3503c673077cec0823a7b2f139c24effd2e6cecd0a + +pkgname = perl-time-out + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0d971816021 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: 3ED <krzysztof1987 at gmail dot com> +# +pkgname=perl-time-out +_lastauthor=P/PA/PATL +_pkgname=Time-Out +pkgver=0.11 +pkgrel=1 +pkgdesc='Easily timeout long running operations' +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url="https://metacpan.org/release/${_pkgname}" +source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz) +sha512sums=('707f113bf3d6c607f8e945d0bd89e9b035eebd7df79e3d8f62eea9e344bebfdce7d9165bfaf20c6267e68e3503c673077cec0823a7b2f139c24effd2e6cecd0a') + +build() { + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd ${_pkgname}-${pkgver} + perl Makefile.PL + make +} +check() { + cd ${_pkgname}-${pkgver} + make test +} +package() { + cd ${_pkgname}-${pkgver} + make install +} + |