Date: Friday, May 12, 2023 @ 00:40:18
  Author: ainola
Revision: 1460030

archrelease: copy trunk to community-testing-any

Added:
  ytfzf/repos/community-testing-any/
  ytfzf/repos/community-testing-any/PKGBUILD
    (from rev 1460029, ytfzf/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: ytfzf/repos/community-testing-any/PKGBUILD (from rev 1460029, 
ytfzf/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2023-05-12 00:40:18 UTC (rev 1460030)
@@ -0,0 +1,39 @@
+# Maintainer: Brett Cornwall <[email protected]>
+# Contributor: Gennadiy Mykhailiuta
+# Contributor: Westofer Raymond
+
+pkgname=ytfzf
+pkgver=2.6.0
+pkgrel=1
+pkgdesc="A POSIX script to find and watch youtube videos from the terminal"
+arch=('any')
+url="https://github.com/pystardust/ytfzf";
+license=('GPL3')
+depends=('jq' 'curl')
+makedepends=('gzip')
+optdepends=(
+    'dmenu: Search prompts and results via dmenu'
+    'mpv: Default media player'
+    'fzf: The default menu selection screen'
+    'ueberzug: The default thumbnails image previewer'
+    'yt-dlp: For downloading content'
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pystardust/ytfzf/archive/refs/tags/v$pkgver.tar.gz";)
+sha256sums=('bc54847ec3d613e25902404cfcb8dfdc657c8258b7cefdeb581cc92d58696835')
+
+package() {
+    cd "$pkgname-$pkgver"
+    install -Dm0755 ytfzf -t "$pkgdir/usr/bin/"
+
+    install -dm0755 "$pkgdir/usr/share/$pkgname/addons"
+    cp -r addons/* "$pkgdir/usr/share/$pkgname/addons"
+    find "$pkgdir/usr/share/$pkgname/addons" -exec chmod 0755 {} +
+
+    install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+    cd docs
+    install -dm0755 "$pkgdir"/usr/share/man/man{1,5}
+    gzip < "man/$pkgname.1" > "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
+    gzip < "man/$pkgname.5" > "$pkgdir/usr/share/man/man5/$pkgname.5.gz"
+    install -Dm0644 conf.sh -t "$pkgdir/usr/share/doc/$pkgname"
+    install -Dm0644 subscriptions -t "$pkgdir/usr/share/doc/$pkgname"
+}

Reply via email to