summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ff3f88824739aea05a5a044526dd26890eb607c (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
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Leonardo Alanis <leogabac@users.noreply.github.com>

pkgname=gremux
pkgver=0.1.3
pkgrel=1
pkgdesc="Declarative tmux session manager"
arch=('any')
url="https://github.com/leogabac/gremux"
license=('GPL2')
depends=(
  'python'
  'python-libtmux'
  'python-pyyaml'
  'python-questionary'
  'tmux'
  'fzf'
)
makedepends=(
  'python-build'
  'python-installer'
  'python-wheel'
)
source=(
  "https://pypi.io/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"
)
sha256sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python -m installer --destdir="${pkgdir}" dist/*.whl
}