makedeb
Shell script to watch Movies/Webseries/Shows from the terminal.
Click here to go back to the commit logs for lobster-git.
Hash: b0155042a8004c8aefe9fc55089e8b87d42048a0
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 00e7a7e..30f4023 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,23 @@
-pkgbase = lobster
- pkgdesc = Shell script to watch Movies/Webseries/Shows from the terminal.
- pkgver = 3.0.4
- pkgrel = 1
- url = https://github.com/justchokingaround/lobster.git
- arch = any
- license = GPL2
- makedepends = git
- depends = fzf
- depends = curl
- depends = grep
- depends = sed
- depends = patch
- depends = mpv
- source = lobster::git+https://github.com/justchokingaround/lobster.git
- md5sums = SKIP
-
-pkgname = lobster
+generated-by = makedeb
+pkgname = lobster-git
+pkgbase = lobster-git
+pkgdesc = Shell script to watch Movies/Webseries/Shows from the terminal.
+pkgrel = 1
+pkgver = 3.0.5.r1.831aa8f
+url = https://github.com/justchokingaround/lobster.git
+arch = any
+conflicts = lobster
+depends = fzf
+depends = curl
+depends = grep
+depends = sed
+depends = patch
+depends = mpv
+license = GPL2
+makedepends = git
+optdepends = vlc: An alternative video player
+provides = lobster
+source = lobster::git+https://github.com/justchokingaround/lobster.git
+b2sums = SKIP
+makedepends = git
+optdepends = vlc: An alternative video player
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..97ba8ea
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+lobster*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 8efa322..0393eac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,9 @@
-# Maintainer: ArtFox3 <artfox3@gmail.com>
-pkgname="lobster"
-pkgver=3.0.4
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: ArtFox3 (AUR) <artfox3@gmail.com>
+
+_pkgname="lobster"
+pkgname="lobster-git"
+pkgver=3.0.5.r1.831aa8f
pkgrel=1
pkgdesc="Shell script to watch Movies/Webseries/Shows from the terminal."
arch=('any')
@@ -8,10 +11,21 @@ url="https://github.com/justchokingaround/lobster.git"
license=('GPL2')
makedepends=('git')
depends=('fzf' 'curl' 'grep' 'sed' 'patch' 'mpv')
-source=("$pkgname::git+$url")
-md5sums=('SKIP')
+optdepends=('vlc: An alternative video player')
+provides=('lobster')
+conflicts=('lobster')
+source=("$_pkgname::git+$url")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "%s.r%s.%s" "$(grep '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"
+ 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"
}