PKGBUILDs/mediaplayerctl/default/PKGBUILD

27 lines
672 B
Bash
Executable File

# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=mediaplayerctl
pkgver=1.0.1
pkgrel=1
pkgdesc='Bash script to control media player applications using qdbus.'
arch=('any')
license=('GPL')
groups=
provides=
depends=("qtchooser")
makedepends=
conflicts=
replaces=
backup=
install=
source=("${_reponame}-${pkgver}.tar.gz::https://github.com/Martchus/${pkgname}/archive/v${pkgver}.tar.gz")
noextract=
sha256sums=('SKIP')
package() {
install -Dm755 "${srcdir}/${PROJECT_DIR_NAME:-$pkgname-$pkgver}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
}