diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-29 12:05:34 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-29 12:05:34 +0000 |
commit | ffd6961b8bbabeed8a562620e77aad07c7a6d890 (patch) | |
tree | 4bf59cec39a93214d311638b41feeb5e212dbcef /testing/perl-gtk2-ex-widgetcursor | |
parent | 001e38e58f5d9257feefc81fa7243b9bdd4fc75e (diff) | |
download | aports-ffd6961b8bbabeed8a562620e77aad07c7a6d890.tar.bz2 aports-ffd6961b8bbabeed8a562620e77aad07c7a6d890.tar.xz |
testing/perl-gtk2-ex-widgetcursor: new aport
Diffstat (limited to 'testing/perl-gtk2-ex-widgetcursor')
-rw-r--r-- | testing/perl-gtk2-ex-widgetcursor/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-gtk2-ex-widgetcursor/APKBUILD b/testing/perl-gtk2-ex-widgetcursor/APKBUILD new file mode 100644 index 0000000000..b90b06ac3a --- /dev/null +++ b/testing/perl-gtk2-ex-widgetcursor/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-gtk2-ex-widgetcursor +_pkgreal=Gtk2-Ex-WidgetCursor +pkgver=15 +pkgrel=0 +pkgdesc="Mouse pointer cursor management for Gtk widgets." +url="http://search.cpan.org/dist/Gtk2-Ex-WidgetCursor/" +arch="noarch" +license="open_source" +cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-pango" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="58ccb2b931393b8804b95f2d297574c4 Gtk2-Ex-WidgetCursor-15.tar.gz" |