mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
752 B
Bash
25 lines
752 B
Bash
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=cairo-perl
|
|
_realname=Cairo
|
|
pkgver=1.061
|
|
pkgrel=1
|
|
pkgdesc="Perl wrappers for cairo"
|
|
arch=('arm')
|
|
license=('LGPL')
|
|
url="http://gtk2-perl.sourceforge.net/"
|
|
options=('!emptydirs')
|
|
depends=('cairo>=1.8.6' 'perl>=5.10.0')
|
|
makedepends=('perl-extutils-depends>=0.300' 'perl-extutils-pkgconfig>=1.11')
|
|
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('08cd5e847f61858651fc4de769066e88')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
find "${pkgdir}" -name '.packlist' -delete
|
|
find "${pkgdir}" -name 'perllocal.pod' -delete
|
|
}
|