diff options
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dc172daa532d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Artimes Phoenix <artimesphoenix@gmail.com> + +pkgname=spotx-git +pkgver=r12.bd90536 +pkgrel=1 +pkgdesc="SpotX Bash Script | Block all audio, banner & video ads | Block logging" +arch=('any') +url="https://github.com/jetfir3/SpotX-Bash" +license=('GPL') +makedepends=('git') +provides=("${pkgname}") +source=("${pkgname}::git+https://github.com/jetfir3/SpotX-Bash.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/${pkgname}" + install -Dm755 spotx.sh "${pkgdir}/usr/bin/spotx" +} |