From 2fd2ca48b28f97edd77b850505ff374ee5ae0606 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 7 Aug 2021 19:28:26 +0200 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/mpdevil.git subrepo: subdir: "mpdevil" merged: "4f07034" upstream: origin: "https://aur.archlinux.org/mpdevil.git" branch: "master" commit: "4f07034" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- mpdevil/.SRCINFO | 18 ++++++++++++++++++ mpdevil/.gitrepo | 12 ++++++++++++ mpdevil/PKGBUILD | 24 ++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 mpdevil/.SRCINFO create mode 100644 mpdevil/.gitrepo create mode 100644 mpdevil/PKGBUILD diff --git a/mpdevil/.SRCINFO b/mpdevil/.SRCINFO new file mode 100644 index 0000000..d1c1253 --- /dev/null +++ b/mpdevil/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = mpdevil + pkgdesc = A simple music browser for MPD + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/SoongNoonien/mpdevil + arch = any + license = GPL3 + makedepends = python-distutils-extra + depends = python-mpd2 + depends = gtk3 + depends = libnotify + depends = python-gobject + depends = python-requests + depends = python-beautifulsoup4 + source = mpdevil-1.3.0.tar.gz::https://github.com/SoongNoonien/mpdevil/archive/v1.3.0.tar.gz + sha256sums = 3f3c878c1c0d006aa491b1bef584a2c5ec97955ed1e77ba69caa7ebd875e5474 + +pkgname = mpdevil diff --git a/mpdevil/.gitrepo b/mpdevil/.gitrepo new file mode 100644 index 0000000..c2e34c5 --- /dev/null +++ b/mpdevil/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/mpdevil.git + branch = master + commit = 4f070342c1a89b660261f67321f0107ea6ff5c92 + parent = 1b77cb73b63893151a989bc951b33c933a8f4030 + method = merge + cmdver = 0.4.3 diff --git a/mpdevil/PKGBUILD b/mpdevil/PKGBUILD new file mode 100644 index 0000000..5949d82 --- /dev/null +++ b/mpdevil/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Martin Wagner + +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 +} +