blob: 0d6c728378cfce266eba0bd9ea4dc2d6046a2a73 (
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
25
26
27
28
29
|
# Maintainer: 305a385 <lotsof@shitposting.expert>
pkgname='ytfind'
pkgver='1.3'
pkgrel=2
pkgdesc="A program that searches invidious and gives you video titles and IDs"
arch=('x86_64')
url='https://github.com/305a385/ytfind/'
license=('AGPL3')
depends=('curl')
makedepends=('json-c')
source=("https://github.com/305a385/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('b00049ba360e5d24652b911c0b7e8ce9be255b799ead0e2274e116f8140af600')
build(){
cd "$pkgname-$pkgver";
make build
}
package() {
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/man/man1"
install -m 755 ${srcdir}/$pkgname-$pkgver/${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -g 0 -o 0 -m 0644 ${srcdir}/$pkgname-$pkgver/manpages/${pkgname}.1 ${pkgdir}/usr/share/man/man1/
gzip ${pkgdir}/usr/share/man/man1/${pkgname}.1
}
|