makedeb


lobster-git 4.0.0.r91.b2ada7a-1


Shell script to watch Movies/Webseries/Shows from the terminal.

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for lobster-git.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: ArtFox3 (AUR) <artfox3@gmail.com>

_pkgname="lobster"
pkgname="lobster-git"
pkgver=4.0.0.r91.b2ada7a
pkgrel=1
pkgdesc="Shell script to watch Movies/Webseries/Shows from the terminal."
arch=('all')
url="https://github.com/justchokingaround/lobster.git"
license=('GPL2')
makedepends=('git' 'grep' 'sed')
depends=('fzf' 'curl' 'grep' 'sed' 'patch' 'mpv' 'socat' 'html-xml-utils')
optdepends=('vlc: An alternative video player'
            'rofi: Lightweight menu for X'
            'ueberzugpp: Images on the terminal'
            'ffmpeg: Used as a downloader'
            'yt-dlp: Alternative downloader')
provides=('lobster')
conflicts=('lobster')
source=("$_pkgname::git+$url")
b2sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  printf "%s.r%s.%s" "$(grep 'LOBSTER_VERSION=' lobster.sh | cut -d '"' -f 2)" "$(git rev-list --count HEAD)" "$(git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
}

package() {
	cd "$srcdir/$_pkgname"
	install -Dm755 "lobster.sh" "$pkgdir/usr/bin/lobster"
        install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$_pkgname/license"
        install -Dm644 "README.md" "$pkgdir/usr/share/doc/$_pkgname/readme"
        install -Dm644 "DISCLAIMER.md" "$pkgdir/usr/share/doc/$_pkgname/disclaimer"
}