summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 45e2f425e5f0316ecf0030405eef730de5c57589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: gardenapple <mailbox@appl.garden>

pkgname=lbry-sync-ytdl
_author=gardenappl
pkgver=1.8.3
pkgrel=2
pkgdesc='Sync content to LBRY using youtube-dl'
arch=('any')
url="https://gitlab.com/$_author/$pkgname"
license=('GPL-3.0-or-later')
depends=('jq' 'curl' 'lbrynet')
makedepends=('perl')
optdepends=('youtube-dl' 'yt-dlp: will be preferred instead of youtube-dl if installed')
source=("https://gitlab.com/$_author/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")

build() {
	make -C "$pkgname-v$pkgver"
}

package() {
	make DESTDIR="$pkgdir" -C "$pkgname-v$pkgver" install
}
sha256sums=('40c6f6db493e37cfc1310cc2d931eee19b80c251dec57736f045dc11efcba0fb')
b2sums=('0e59140605bfbbc32004efd5ef356eb7733e3032cec7c5a64faf94ed46c367d28c88d5bc22f1f8c4bcea23ae4b8bb0dcf860b663fd45774691dd662b80ac3a75')