diff options
author | KrishenK | 2022-11-20 19:07:16 +0100 |
---|---|---|
committer | KrishenK | 2022-11-20 19:07:16 +0100 |
commit | 1a48e15f3f4d4b8e111d40cb42a107dad44b4066 (patch) | |
tree | 5bd41c1572c2942443818bedec5c6a0fb8503515 /PKGBUILD | |
download | aur-1a48e15f3f4d4b8e111d40cb42a107dad44b4066.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8b9757eddec8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: KrishenK <Contact with GitHub issue> +pkgname='ani-cli-vostfr-git' +_pkgname='ani-cli' +pkgver=0.1.7.r8.7b7288a +pkgrel=1 +pkgdesc="A cli to browse and watch anime in VOSTFR (inspired by pystardust)" +arch=('any') +url="https://github.com/KrishenK0/ani-cli.git" +license=('MIT') +depends=('python' 'geckodriver' 'mpv') +makedepends=('git') +checkdepends=() +optdepends=() +provides=('ani-cli') +conflicts=('ani-cli') +source=("git+$url") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" + printf "0.1.7.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${_pkgname}" + make +} + +package() { + cd "$srcdir/${_pkgname}" + sudo make DESTDIR="$pkgdir/" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md" +} |