summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2018-06-16 11:54:37 +0200
committerFabioLolix2018-06-16 11:54:37 +0200
commitb6558d72d9a6ebcc4a4e270d79fbd5f89a40293b (patch)
tree0f4b427f101500713302a9a0d0ee5c810cc0e1fc
downloadaur-b6558d72d9a6ebcc4a4e270d79fbd5f89a40293b.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD33
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ccbf1750bf9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = playmymusic-git
+ pkgdesc = Melody is a music player for Pantheon, developed by Artem Anufrij
+ pkgver = 1.0.1.r30.g43b3ad0
+ pkgrel = 1
+ url = http://anufrij.org/melody/
+ arch = x86_64
+ license = GPL3
+ makedepends = meson
+ makedepends = vala
+ makedepends = git
+ depends = libgranite.so
+ depends = libsoup
+ depends = gst-plugins-base-libs
+ depends = taglib
+ depends = gtk3
+ optdepends = gst-plugins-base: "Base" plugin libraries
+ optdepends = gst-plugins-good: "Good" plugin libraries
+ optdepends = gst-plugins-bad: "Bad" plugin libraries
+ optdepends = gst-plugins-ugly: "Ugly" plugin libraries
+ source = playmymusic-git::git+https://github.com/artemanufrij/playmymusic.git
+ sha256sums = SKIP
+
+pkgname = playmymusic-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2a82aac1efc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
+
+pkgname=playmymusic-git
+pkgver=1.0.1.r30.g43b3ad0
+pkgrel=1
+pkgdesc="Melody is a music player for Pantheon, developed by Artem Anufrij"
+arch=('x86_64')
+url="http://anufrij.org/melody/"
+license=('GPL3')
+depends=('libgranite.so' 'libsoup' 'gst-plugins-base-libs' 'taglib' 'gtk3')
+makedepends=('meson' 'vala' 'git')
+optdepends=('gst-plugins-base: "Base" plugin libraries'
+ 'gst-plugins-good: "Good" plugin libraries'
+ 'gst-plugins-bad: "Bad" plugin libraries'
+ 'gst-plugins-ugly: "Ugly" plugin libraries')
+source=("${pkgname}::git+https://github.com/artemanufrij/playmymusic.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${pkgname}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ meson build --prefix=/usr
+ ninja -C build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ DESTDIR="${pkgdir}" ninja -C build install
+}