updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-x11-aosd / PKGBUILD
blobbb8f94c55add1b0ea3bb3dc7e5f2204bbee7e8c7
1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
3 pkgname=perl-x11-aosd
4 _lastauthor="J/JR/JRED"
5 _pkgname=X11-Aosd
6 pkgver=0.03
7 pkgrel=2
8 pkgdesc="libaosd binding for Cairo powered on screen display"
9 arch=('i686' 'x86_64')
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('libaosd' 'perl' 'gtk2-perl' 'perl-test-simple' 'perl-extutils-depends')
13 url='http://search.cpan.org/dist/X11-Aosd/'
14 source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
15 sha256sums=('7cbf1d75704d5a7104f8fd3c5369a2ed70b73758fd8a2715813366625c902e33')
17 build() {
18   cd "${srcdir}/${_pkgname}-${pkgver}"
19   export PERL_MM_USE_DEFAULT=1
20   export PERL_AUTOINSTALL='--skipdeps'
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
24 check() {
25   cd "${srcdir}/${_pkgname}-${pkgver}"
26   make test
28 package() {
29   cd "${srcdir}/${_pkgname}-${pkgver}"
30   make DESTDIR="${pkgdir}" install
31   find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete