[arch-commits] Commit in perl-file-desktopentry/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Feb 20 12:00:44 UTC 2010
Date: Saturday, February 20, 2010 @ 07:00:44
Author: allan
Revision: 69386
upgpkg: perl-file-desktopentry 0.04-3
convert to any package, fixes mandir location on x86_64
Modified:
perl-file-desktopentry/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-20 11:58:37 UTC (rev 69385)
+++ PKGBUILD 2010-02-20 12:00:44 UTC (rev 69386)
@@ -4,9 +4,9 @@
pkgname=perl-file-desktopentry
_realname=File-DesktopEntry
pkgver=0.04
-pkgrel=2
+pkgrel=3
pkgdesc='Object to handle .desktop files'
-arch=(i686 x86_64)
+arch=('any')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.10.0')
@@ -15,13 +15,9 @@
md5sums=('fc196bc1a4d6ca84953fee5a9cdaa629')
build() {
- cd $startdir/src/${_realname}-$pkgver
+ cd ${srcdir}/${_realname}-$pkgver
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
- make install DESTDIR=${startdir}/pkg || return 1
-
- # remove perllocal.pod and .packlist
- find ${startdir}/pkg -name perllocal.pod -delete
- find ${startdir}/pkg -name .packlist -delete
+ make install DESTDIR=${pkgdir} || return 1
}
More information about the arch-commits
mailing list