summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72d5a73ef7deecf46ee40e948a122ac0311c61fa (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
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Cyker Way <cykerway at gmail dot com>

pkgname=ncmpy
pkgver=1.5.7
pkgrel=1
pkgdesc="Curses-based MPD client"
arch=('any')
url="https://github.com/cykerway/ncmpy"
license=('GPL3')
depends=('python-mpd2' 'python-yaml')
makedepends=('python-setuptools')
backup=("etc/$pkgname/$pkgname.yaml")
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('31009d9c15aeef43c70273b5a52cca2aaf62226cff3e5699c48d3d28e1804695')

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm 644 data/ncmpy.yaml.example "$pkgdir/etc/$pkgname/$pkgname.yaml"
}

# vim:set ts=2 sw=2 et: