diff options
author | Michael Hanson <mihanson@linhes.org> | 2012-01-26 03:57:20 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2012-01-26 03:57:20 (GMT) |
commit | c819ad0cec379c8829082eaca3d423d3db76580d (patch) | |
tree | e64765f4232cb897c16da31881afd2f32545fc03 | |
parent | f66a2486a0d694fab20594c2fdd3919194141f5c (diff) | |
download | linhes_pkgbuild-c819ad0cec379c8829082eaca3d423d3db76580d.zip linhes_pkgbuild-c819ad0cec379c8829082eaca3d423d3db76580d.tar.gz linhes_pkgbuild-c819ad0cec379c8829082eaca3d423d3db76580d.tar.bz2 |
perl-x-osd: initial commit. dep of mdd (mythdroid daemon)
-rw-r--r-- | abs/core/perl_modules/perl-x-osd/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-x-osd/PKGBUILD b/abs/core/perl_modules/perl-x-osd/PKGBUILD new file mode 100644 index 0000000..771079b --- /dev/null +++ b/abs/core/perl_modules/perl-x-osd/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: 3ED <krzysztof1987 at gmail dot com> +# +pkgname='perl-x-osd' +_lastauthor="G/GO/GOZER" +_pkgname='X-Osd' +pkgver='0.7' +pkgrel='2' +pkgdesc="Perl extension to the X On Screen Display library (xosd)" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'xosd') +url='http://search.cpan.org/dist/X-Osd/' +source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz) +sha256sums=('e3bafe11cd51ad9b1e3d1df18516f9bb1ba462f981483b922f2b627b08190391') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + export PERL_MM_USE_DEFAULT=1 + export PERL_AUTOINSTALL='--skipdeps' + perl Makefile.PL INSTALLDIRS=vendor + make +} +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make test +} +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete +} |