summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 40f8af5e6c1bb9017e74f59ce41bc08d633e9056 (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
# Maintainer: Yunindyo Prabowo <yunindyo.prabowo[at]gmail[dot]com>
# Contributor: M Nabil Adani <nblid48[at]gmail[dot]com>

pkgname=stowtui-git
pkgver=1.1.3
pkgrel=1
pkgdesc='stow tui is a Terminal User Interface Program for GNU STOW'
arch=('any')
url="https://github.com/ypraw/stowtui/"
license=('GPLv3')
makedepends=('python-setuptools')
depends=('stow' 'python' 'python-pygments' 'python-wcwidth' 'python-npyscreen')
source=("${pkgname}::git+https://github.com/ypraw/stowtui.git")
sha256sums=('SKIP')

pkgver(){
    cd "${pkgname}"
    git describe --long | cut -d "-" -f 1
}

package() {
   cd "$srcdir/$pkgname"
   python setup.py install --root="$pkgdir/" --optimize=1 
   install -Dvm755 "./bin/stowtui" "$pkgdir/usr/bin/stowtui"
}