summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b310ad0fdbbfcd7f1f51ad0824a5a44d5ef043d (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
pkgname=gremux
pkgver=0.1.1
pkgrel=2
pkgdesc="Declarative tmux session manager"
arch=('any')
url="https://github.com/leogabac/gremux"
license=('GPL2')
depends=(
  'python'
  'python-libtmux'
  'python-pyyaml'
  'tmux'
  'fzf'
)
makedepends=(
  'python-build'
  'python-installer'
  'python-wheel'
)
source=(
  "https://files.pythonhosted.org/packages/source/g/${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
}