diff options
author | Gabriel Souza Franco | 2021-11-14 18:18:12 -0300 |
---|---|---|
committer | Gabriel Souza Franco | 2021-11-14 18:18:12 -0300 |
commit | c29ab5282775b6ad5466efc092311706c06bedbc (patch) | |
tree | 66b99b478cfd1524cef6e2b9445db350fbefcb60 | |
parent | dae7fc65361a3830a023abee78b34ef2204153b4 (diff) | |
download | aur-c29ab5282775b6ad5466efc092311706c06bedbc.tar.gz |
Drop python2, update location of fontconfig files
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 59 |
2 files changed, 22 insertions, 61 deletions
@@ -1,7 +1,7 @@ pkgbase = python-powerline-git pkgdesc = The ultimate statusline/prompt utility - pkgver = 2.8.1+17+gf401ee31 - pkgrel = 2 + pkgver = 2.8.2+4+g82c1373b + pkgrel = 1 epoch = 1 url = https://github.com/powerline/powerline install = powerline.install @@ -9,25 +9,8 @@ pkgbase = python-powerline-git arch = x86_64 license = MIT makedepends = git - makedepends = python2-setuptools makedepends = python-setuptools makedepends = python-sphinx - source = powerline::git+https://github.com/powerline/powerline.git#branch=develop - sha256sums = SKIP - -pkgname = python2-powerline-git - depends = python2>=2.6 - optdepends = python2-psutil: improved system information - optdepends = python2-pygit2: improved git support - optdepends = python2-hglib: improved mercurial support - optdepends = zsh: better shell prompt - optdepends = vim: vim compiled with Python support - conflicts = powerline2 - conflicts = powerline - conflicts = python-powerline-git - conflicts = otf-powerline-symbols-git - -pkgname = python-powerline-git depends = python>=3.2 optdepends = python-psutil: improved system information optdepends = python-pygit2: improved git support @@ -38,4 +21,7 @@ pkgname = python-powerline-git conflicts = powerline conflicts = python2-powerline-git conflicts = otf-powerline-symbols-git + source = powerline::git+https://github.com/powerline/powerline.git#branch=develop + sha256sums = SKIP +pkgname = python-powerline-git @@ -3,16 +3,22 @@ # Contributor: Pablo Olmos de Aguilera C. pablo+aur at odac dot co # Contributor: Kim Silkebækken <kim.silkebaekken+aur@gmail.com> -pkgbase=python-powerline-git -pkgname=('python2-powerline-git' 'python-powerline-git') +pkgname=python-powerline-git pkgdesc='The ultimate statusline/prompt utility' -pkgver=2.8.1+17+gf401ee31 -pkgrel=2 +pkgver=2.8.2+4+g82c1373b +pkgrel=1 epoch=1 url='https://github.com/powerline/powerline' license=('MIT') arch=('i686' 'x86_64') -makedepends=('git' 'python2-setuptools' 'python-setuptools' 'python-sphinx') +depends=('python>=3.2') +conflicts=('powerline2' 'powerline' 'python2-powerline-git' 'otf-powerline-symbols-git') +makedepends=('git' 'python-setuptools' 'python-sphinx') +optdepends=('python-psutil: improved system information' + 'python-pygit2: improved git support' + 'python-hglib: improved mercurial support' + 'zsh: better shell prompt' + 'vim: vim compiled with Python support') install='powerline.install' source=('powerline::git+https://github.com/powerline/powerline.git#branch=develop') sha256sums=('SKIP') @@ -30,12 +36,15 @@ build() { make man SPHINXBUILD=sphinx-build } -package_generic() { +package_python-powerline-git() { + cd powerline + python setup.py install --root="$pkgdir" --optimize=1 + # Fonts install -dm755 "$pkgdir/etc/fonts/conf.d" install -Dm644 "font/PowerlineSymbols.otf" "$pkgdir/usr/share/fonts/OTF/PowerlineSymbols.otf" - install -Dm644 "font/10-powerline-symbols.conf" "$pkgdir/etc/fonts/conf.avail/10-powerline-symbols.conf" - ln -s "../conf.avail/10-powerline-symbols.conf" "$pkgdir/etc/fonts/conf.d/10-powerline-symbols.conf" + install -Dm644 "font/10-powerline-symbols.conf" "$pkgdir/usr/share/fontconfig/conf.default/10-powerline-symbols.conf" + ln -s "/usr/share/fontconfig/conf.default/10-powerline-symbols.conf" "$pkgdir/etc/fonts/conf.d/10-powerline-symbols.conf" # Vim Plugin install -Dm644 "powerline/bindings/vim/plugin/powerline.vim" "$pkgdir/usr/share/vim/vimfiles/plugin/powerline.vim" @@ -69,38 +78,4 @@ package_generic() { install -Dm644 "docs/_build/man/"* "$pkgdir/usr/share/man/man1/" } -package_python2-powerline-git() { - depends=('python2>=2.6') - optdepends=('python2-psutil: improved system information' - 'python2-pygit2: improved git support' - 'python2-hglib: improved mercurial support' - 'zsh: better shell prompt' - 'vim: vim compiled with Python support') - conflicts=('powerline2' 'powerline' - 'python-powerline-git' - 'otf-powerline-symbols-git') - - cd powerline - python2 setup.py install --root="$pkgdir" --optimize=1 - - package_generic -} - -package_python-powerline-git() { - depends=('python>=3.2') - optdepends=('python-psutil: improved system information' - 'python-pygit2: improved git support' - 'python-hglib: improved mercurial support' - 'zsh: better shell prompt' - 'vim: vim compiled with Python support') - conflicts=('powerline2' 'powerline' - 'python2-powerline-git' - 'otf-powerline-symbols-git') - - cd powerline - python setup.py install --root="$pkgdir" --optimize=1 - - package_generic -} - # vim: sw=4 noet |