diff options
author | Taner Tas <taner76@gmail.com> | 2019-04-27 23:15:25 +0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-27 20:40:35 +0000 |
commit | 4366f58a8d03e06a5e7db6c1bf64e2e7bd6d34e4 (patch) | |
tree | 8cec40f84fb20450b2bb2f8ec2d1669690ec3dab /community/perl-anyevent-i3 | |
parent | 7c315d5d194ca313d9b79946498265581a4306d0 (diff) | |
download | aports-4366f58a8d03e06a5e7db6c1bf64e2e7bd6d34e4.tar.bz2 aports-4366f58a8d03e06a5e7db6c1bf64e2e7bd6d34e4.tar.xz |
community/perl-anyevent-i3: new aport
https://metacpan.org/release/AnyEvent-I3
Communicate with the i3 window manager.
Closes GH-6354
Diffstat (limited to 'community/perl-anyevent-i3')
-rw-r--r-- | community/perl-anyevent-i3/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/perl-anyevent-i3/APKBUILD b/community/perl-anyevent-i3/APKBUILD new file mode 100644 index 0000000000..e4cc4ef6c3 --- /dev/null +++ b/community/perl-anyevent-i3/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Taner Tas <taner76@gmail.com> +# Maintainer: Taner Tas <taner76@gmail.com> +pkgname=perl-anyevent-i3 +_pkgname=AnyEvent-I3 +pkgver=0.17 +pkgrel=0 +pkgdesc="Communicate with the i3 window manager." +url="https://metacpan.org/release/AnyEvent-I3" +arch="noarch" +license="Artistic-1.0 GPL-1.0-only" +depends="perl-anyevent perl-json-xs" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MS/MSTPLBG/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + perl Makefile.PL INSTALLDIRS=vendor +} + +check(){ + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +sha512sums="e8b0ccb89be27d5e952e5cb819e1f462ad5c558879a88fb5087d72517424316c0053b081ed9763d701a017c1d838fa694b49f40886335a23a68ebb091714b259 AnyEvent-I3-0.17.tar.gz" |