# Maintainer: OrkenWhite pkgname=ytfe pkgver=1.15.1 pkgrel=1 pkgdesc="YouTube frontend" arch=('x86_64' 'i686') url="http://oscomp.hu" license=('custom') depends=('gtk2') makedepends=('xz') source=('http://oscomp.hu/depot/ytfe.png' 'http://oscomp.hu/depot/edl-preloader.lua.xz' 'ytfe.desktop' 'LICENSE') source_x86_64=("http://oscomp.hu/depot/ytfe_direct/$pkgver/ytfe_linux_x86_64.xz") source_i686=("http://oscomp.hu/depot/ytfe_direct/$pkgver/ytfe_linux_i686.xz") sha256sums=( '29220d99cb0e33675e2d349a023eea0877a3befefc61b19f4d901db29f7d1698' '1538efd4ad69915c36a12e48b2fb67606983d8dd38811726640952d6a3c03149' '44bc1c569ae7829e65bc5ec3525ad260a2dc64d340da0f9912c4395552134eae' 'bf8e1295602992c618eacbc43a36c201293c8a159f49dd42a724c72f5e8a5267') sha256sums_x86_64=('e18d57da536d94c6bf35ef6c1c9882c18e672e99f3392e4787a46c4b52933b0e') sha256sums_i686=('fe86b629abe0bb813b450a2cdf03f1c52f4aba47b08ad06d656524e4563ef149') optdepends=('youtube-dl: default downloader' 'mpv: default player' 'vlc: compatible video player') install="ytfe.install" package() { install -Dm755 ${pkgname}_linux_${arch} $pkgdir/usr/bin/$pkgname install -Dm644 ${pkgname}.png $pkgdir/usr/share/icons/hicolor/16x16/apps/$pkgname.png install -Dm644 ${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE install -Dm755 edl-preloader.lua $pkgdir/usr/bin/edl-preloader }