archpkgs/mpdevil/PKGBUILD

25 lines
740 B
Bash
Raw Normal View History

# Maintainer: Martin Wagner <martin.wagner.dev@gmail.com>
pkgname=mpdevil
pkgver=1.3.0
pkgrel=1
pkgdesc="A simple music browser for MPD"
arch=('any')
license=('GPL3')
url="https://github.com/SoongNoonien/mpdevil"
depends=('python-mpd2' 'gtk3' 'libnotify' 'python-gobject' 'python-requests' 'python-beautifulsoup4')
makedepends=('python-distutils-extra')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SoongNoonien/mpdevil/archive/v${pkgver}.tar.gz")
sha256sums=('3f3c878c1c0d006aa491b1bef584a2c5ec97955ed1e77ba69caa7ebd875e5474')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}