summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f4c5c8f6555b648b81f91b186c9076105c45ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=foxify-cli-git
conflicts=('foxify-cli')
provides=('foxify-cli')
pkgver=4a780aa
pkgrel=2
pkgdesc='Firefox Command-Line Theme Manager'
arch=(any)
url='https://github.com/M4cs/foxify-cli'
license=(GPL3)
depends=(python python-setuptools python-requests python-ruamel-yaml python-psutil python-fuzzywuzzy python-tqdm python-colorama python-levenshtein python-gitpython)
source=("foxify-cli-git::git+https://github.com/M4cs/foxify-cli.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --always --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$pkgname"

  python setup.py install --root="$pkgdir" --optimize=1
}