summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2017-11-05 02:27:56 +0100
committerFabioLolix2017-11-05 02:27:56 +0100
commit32a1f71b247221d2413e61f97b34066ed6561d2d (patch)
tree0691466cdc9eb4d8a1de6fb37d9f77ff666ecfcc
downloadaur-32a1f71b247221d2413e61f97b34066ed6561d2d.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..95c7aa34ddf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = madrigal-git
+ pkgdesc = Qt5 OpenHome control point, still in development
+ pkgver = r192.8395a23
+ pkgrel = 3
+ url = https://github.com/CDrummond/madrigal
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = qt5-svg
+ depends = hicolor-icon-theme
+ provides = madrigal
+ source = madrigal-git::git+https://github.com/CDrummond/madrigal.git
+ md5sums = SKIP
+
+pkgname = madrigal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dd9ea488b6f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Fabio Loli <loli_fabio@protonmail.com>
+# https://github.com/FabioLolix
+
+pkgname=madrigal-git
+pkgver=r192.8395a23
+pkgrel=3
+pkgdesc="Qt5 OpenHome control point, still in development"
+arch=('i686' 'x86_64')
+url="https://github.com/CDrummond/madrigal"
+license=('GPL3')
+depends=('qt5-svg' 'hicolor-icon-theme')
+makedepends=('git')
+provides=('madrigal')
+source=("${pkgname}::git+https://github.com/CDrummond/madrigal.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ install -d ${srcdir}/${pkgname}/build
+ cd ${srcdir}/${pkgname}/build
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make DESTDIR=$pkgdir install
+}