summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 003363c2a74bc92911c3f0437799b59121be3550 (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
pkgname=foxify-cli-git
conflicts=('foxify-cli')
provides=('foxify-cli')
pkgver=4a780aa
pkgrel=3
pkgdesc='Firefox Command-Line Theme Manager'
arch=(any)
url='https://github.com/M4cs/foxify-cli'
license=(GPL3)
makedepends=(python-setuptools git)
depends=(python 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
}