summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4396a8ea33d46a67476b51c48aa1c6d91bf69fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Brijesh <brijeshsundi@gmail.com>

pkgname=spotx-git
pkgver=r81.29e7d24
pkgrel=1
pkgdesc="SpotX Bash Script | Block all audio, banner & video ads | Block logging"
arch=('any')
url="https://github.com/jetfir3/SpotX-Bash"
license=('MIT')
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"
}