diff options
author | matheusfillipe | 2022-03-01 21:54:33 -0300 |
---|---|---|
committer | matheusfillipe | 2022-03-01 21:54:33 -0300 |
commit | 5a35a0f09f3cdb7105e2c2d84840e615eaee0201 (patch) | |
tree | 03f58bf9788dfc02a578714b67c21c88b5d78fce | |
download | aur-5a35a0f09f3cdb7105e2c2d84840e615eaee0201.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..778c12e6667c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = wcofun + pkgdesc = Stream and download animes directly from your terminal. + pkgver = r34.0118b37 + pkgrel = 1 + url = https://github.com/matheusfillipe/wcofun.cli + arch = any + license = MIT + makedepends = git + depends = curl + depends = coreutils + depends = htmlq + depends = jq + depends = fzf + depends = rofi + depends = mpv + depends = bash + optdepends = curl-impersonate-chrome: Bypass cloudflare blocks solving not found errors + optdepends = rofi: GUI menu + optdepends = dmenu: GUI menu + provides = wcofun + source = git+https://github.com/matheusfillipe/wcofun.cli + md5sums = SKIP + +pkgname = wcofun diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb478555a368 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer mattf <matheusfillipeag@gmail.com> + +pkgname=wcofun +pkgver=r34.0118b37 +pkgrel=1 +pkgdesc="Stream and download animes directly from your terminal." +url="https://github.com/matheusfillipe/wcofun.cli" +license=('MIT') +arch=('any') +md5sums=('SKIP') +makedepends=(git) +depends=(curl coreutils htmlq jq fzf rofi mpv bash) +optdepends=('curl-impersonate-chrome: Bypass cloudflare blocks solving not found errors' + 'rofi: GUI menu' + 'dmenu: GUI menu') +provides=(wcofun) +source=("git+$url") + +pkgver() { + cd ${pkgname}.cli + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package () { + cd ${pkgname}.cli + install -Dm755 wcofun "${pkgdir}/usr/bin/${pkgname}" +} |