mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
843 B
Bash
27 lines
843 B
Bash
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
|
||
|
# Maintainer: damir <damir@archlinux.org>
|
||
|
# Maintainer/Contributor: Francois Charette <firmicus@gmx.net>
|
||
|
|
||
|
pkgname=perl-xml-twig
|
||
|
_realname=XML-Twig
|
||
|
pkgver=3.32
|
||
|
pkgrel=2
|
||
|
pkgdesc="A module for easy processing of XML"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://search.cpan.org/dist/${_realname}/"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perlxml>=2.23' 'perl-text-iconv' 'perl>=5.10.0')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz)
|
||
|
md5sums=('9df9dcab00aa093c4e540caa5cb759fa')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/${_realname}-${pkgver}
|
||
|
perl Makefile.PL -y INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install || return 1
|
||
|
|
||
|
find $startdir/pkg -name '.packlist' -delete
|
||
|
find $startdir/pkg -name '*.pod' -delete
|
||
|
}
|