diff options
Diffstat (limited to 'p5-net-dbus/Pkgfile')
-rw-r--r-- | p5-net-dbus/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/p5-net-dbus/Pkgfile b/p5-net-dbus/Pkgfile new file mode 100644 index 000000000..6a0f9379d --- /dev/null +++ b/p5-net-dbus/Pkgfile @@ -0,0 +1,25 @@ +# Description: Perl extension for the DBus message system +# URL: https://metacpan.org/pod/Net::DBus +# Maintainer: Alexandr Savca, alexandr dot savca89 at gmail dot com +# Depends on: pkg-config dbus p5-xml-twig + +name=p5-net-dbus +version=1.1.0 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-$version.tar.gz) + +build () { + cd Net-DBus-$version + perl Makefile.PL + make OPTIMIZE="$CFLAGS" + make DESTDIR=$PKG install + + find $PKG -name perllocal.pod \ + -o -name "*.bs" \ + -o -name .packlist \ + -o -name autosplit.ix \ + | xargs rm -f + + find $PKG -depth -type d -empty -delete + find $PKG -type f -a -perm -u-w | xargs chmod u+w +} |