blob: 80e76ff175667a47944f19b961b981777e529727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Mutantoe <mutantoe+aur@mailbox.org>
pkgname=ytp-git
pkgver=0.0.0.gb209122
pkgrel=1
pkgdesc='Searches and plays Youtube videos'
arch=('any')
url='https://gitlab.com/uoou/ytp'
license=('GPL2')
depends=('jq' 'youtube-dl' 'mpv')
provides=('ytp')
source=("$pkgname::git+https://gitlab.com/uoou/ytp.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
echo 0.0.0.g$(git describe --tags --always | sed 's/^v//;s/-/./g')
}
package() {
cd "$pkgname"
install -Dm755 ytp "$pkgdir/usr/bin/ytp"
}
|