summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMartin Wagner2020-08-19 09:58:38 +0200
committerMartin Wagner2020-08-19 09:58:38 +0200
commit647f33b46cd7ac425046ffe1f3479092787e7a82 (patch)
tree237506aa9a2712119abab6838c3e56fa487da3d4 /PKGBUILD
downloadaur-647f33b46cd7ac425046ffe1f3479092787e7a82.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1d47cf3726
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Martin Wagner <martin.wagner.dev@gmail.com>
+# Contributor: Martin Wagner <martin.wagner.dev@gmail.com>
+
+pkgname=mpdevil-git
+pkgver=v0.4.4.r2.g08ff73d
+pkgrel=1
+pkgdesc="A small MPD client written in python (git version)"
+arch=('any')
+license=('GPL3')
+url="https://github.com/SoongNoonien/mpdevil"
+depends=('python-mpd2' 'gtk3' 'libnotify' 'python-gobject' 'python-requests' 'python-beautifulsoup4' 'python-dbus')
+makedepends=('git' 'intltool')
+provides=('mpdevil')
+conflicts=('mpdevil')
+source=('git+https://github.com/SoongNoonien/mpdevil.git')
+md5sums=('SKIP')
+_gitname="mpdevil"
+
+pkgver() {
+ cd "${_gitname}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "${srcdir}/${_gitname}"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${_gitname}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_gitname}"
+ make DESTDIR="${pkgdir}" install
+}
+