makedeb


ani-cli-git 4.5.0.r4.353bf56-1


A cli to browse and watch anime. (development version)

Click here to go back to the commit logs for ani-cli-git.

Commit:


Hash: 5f4019386ea274060afb86660b9a00b9452842d2

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index c48c26e..a485d84 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,24 @@
-pkgbase = ani-cli-git
-	pkgdesc = A cli to browse and watch anime. (development version)
-	pkgver = r653.94e78d5
-	pkgrel = 1
-	url = https://github.com/pystardust/ani-cli
-	arch = any
-	license = GPL3
-	makedepends = git
-	depends = grep
-	depends = sed
-	depends = curl
-	depends = mpv
-	depends = aria2
-	depends = ffmpeg
-	depends = fzf
-	optdepends = vlc: An alternative video player
-	provides = ani-cli
-	conflicts = ani-cli
-	source = ani-cli::git+https://github.com/pystardust/ani-cli.git
-	md5sums = SKIP
-
+generated-by = makedeb
 pkgname = ani-cli-git
+pkgbase = ani-cli-git
+pkgdesc = A cli to browse and watch anime. (development version)
+pkgrel = 1
+pkgver = 4.4.3.r1.73b3aa2
+url = https://github.com/pystardust/ani-cli
+arch = all
+conflicts = ani-cli
+depends = grep
+depends = sed
+depends = curl
+depends = mpv
+depends = aria2
+depends = ffmpeg
+depends = fzf
+license = GPL3
+makedepends = git
+optdepends = vlc: An alternative video player
+provides = ani-cli
+source = ani-cli::git+https://github.com/pystardust/ani-cli.git
+b2sums = SKIP
+makedepends = git
+optdepends = vlc: An alternative video player
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c71fecb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+ani-cli*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 207f07c..436ea16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
-# Maintainer: Mark Kostovetskyy <mark at sgtxd dot de >
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: Mark (AUR) <mark at sgtxd dot de >
 pkgname='ani-cli-git'
 _pkgname='ani-cli'
-pkgver=r653.94e78d5
+pkgver=4.4.3.r1.73b3aa2
 pkgrel=1
 pkgdesc="A cli to browse and watch anime. (development version)"
-arch=('any')
+arch=('all')
 url="https://github.com/pystardust/ani-cli"
 license=('GPL3')
 depends=('grep' 'sed' 'curl' 'mpv' 'aria2' 'ffmpeg' 'fzf')
@@ -13,15 +14,19 @@ makedepends=('git')
 provides=('ani-cli')
 conflicts=('ani-cli')
 source=('ani-cli::git+https://github.com/pystardust/ani-cli.git')
-md5sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
         cd "$srcdir/${_pkgname}"
-        printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+        printf "%s.r%s.%s" "$(grep -m 1 'version_number' ani-cli | cut -d '"' -f 2)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
 
 package() {
         cd "$srcdir/${_pkgname%-VCS}"
-	install -Dm755 "./ani-cli" "$pkgdir/usr/bin/ani-cli"
-	install -Dm644 "./ani-cli.1" "$pkgdir/usr/share/man/man1/ani-cli.1"
+        install -Dm755 "ani-cli" "$pkgdir/usr/bin/ani-cli"
+        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"
+        install -Dm644 "$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1"
+        gzip "$pkgdir/usr/share/man/man1/$_pkgname.1"
 }