aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoni Aloy Torrens <aaloytorrens@gmail.com>2021-04-04 00:08:18 +0200
committerAntoni Aloy Torrens <aaloytorrens@gmail.com>2021-04-04 00:08:18 +0200
commit25870c81778ce266006abbfd4ab89cc2492485c7 (patch)
treecdea73a573005c23a2666c3f0bbdcd1c6b09879b
parent820fbe32fcf8f07f0a58c44e55fefcf22958db08 (diff)
downloadaports-25870c81778ce266006abbfd4ab89cc2492485c7.tar.gz
aports-25870c81778ce266006abbfd4ab89cc2492485c7.tar.bz2
aports-25870c81778ce266006abbfd4ab89cc2492485c7.tar.xz
testing/pipe-viewer: new aport
-rw-r--r--testing/perl-lwp-useragent-cached/APKBUILD28
-rw-r--r--testing/pipe-viewer/APKBUILD39
2 files changed, 67 insertions, 0 deletions
diff --git a/testing/perl-lwp-useragent-cached/APKBUILD b/testing/perl-lwp-useragent-cached/APKBUILD
new file mode 100644
index 0000000000..0ba82401ec
--- /dev/null
+++ b/testing/perl-lwp-useragent-cached/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
+pkgname=perl-lwp-useragent-cached
+pkgver=0.08
+pkgrel=0
+pkgdesc="UserAgent with simple caching mechanism"
+url="https://metacpan.org/release/LWP-UserAgent-Cache"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-libwww"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-$pkgver.tar.gz"
+builddir="$srcdir/LWP-UserAgent-Cached-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="5c1c18d3a54257aac6f266298d63c4cec9e6c6cbdfe6470cbf02676fc327a9c71238158b08036852c4971787fd8b7b67b85eaa4016687bc6c815a68037e15c47 LWP-UserAgent-Cached-0.08.tar.gz"
diff --git a/testing/pipe-viewer/APKBUILD b/testing/pipe-viewer/APKBUILD
new file mode 100644
index 0000000000..1e28cb60f5
--- /dev/null
+++ b/testing/pipe-viewer/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
+pkgname=pipe-viewer
+pkgver=0.0.8
+pkgrel=0
+pkgdesc="Lightweight YouTube client for Linux"
+url="https://github.com/trizen/pipe-viewer"
+arch="noarch"
+license="Artistic-2.0"
+depends="
+ perl perl-data-dump perl-json perl-lwp-protocol-https youtube-dl
+ perl-gtk3 perl-libwww perl-file-sharedir perl-unicode-linebreak
+ perl-json-xs perl-term-readline-gnu ffmpeg mpv wget gnome-icon-theme
+ perl-lwp-useragent-cached
+ "
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/trizen/pipe-viewer/archive/refs/tags/$pkgver.tar.gz"
+
+build() {
+ perl Build.PL --gtk3
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install --destdir "$pkgdir" --installdirs vendor --install_path script=/usr/bin
+ rm -r "$pkgdir"/usr/lib
+
+ mkdir -p "$pkgdir"/usr/share/applications
+ mkdir -p "$pkgdir"/usr/share/pixmaps
+ install -Dm644 "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/gtk-pipe-viewer.desktop \
+ "$pkgdir"/usr/share/applications/gtk-pipe-viewer.desktop
+ install -Dm644 "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png \
+ "$pkgdir"/usr/share/pixmaps/gtk-pipe-viewer.png
+}
+
+sha512sums="13c49717a55c0eac790b43fc2280c77f7a9c5a10300d7390567a5f908f2bb874dbb673f11e8a0052255732c178fb6d15f39db670cde31e2a8879de43e49383b8 pipe-viewer-0.0.8.tar.gz"