summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9381fbfa101
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: maz-1 <loveayawaka@gmail.com>
+_pkgname=deadbeef-qt5
+pkgname=${_pkgname}-git
+pkgver=27.420dd44
+pkgrel=1
+pkgdesc="Qt based user interface plugin for DeaDBeeF music player."
+arch=('i686' 'x86_64')
+url='https://github.com/maz-1/deadbeef-qt'
+license=('GPL2')
+depends=('qt5-base' 'deadbeef')
+makedepends=('cmake' 'qt5-tools')
+provides=('deadbeef-qt' 'deadbeef-qt-git')
+conflicts=('deadbeef-qt' 'deadbeef-qt-git')
+source=("git+https://github.com/maz-1/${_pkgname}.git")
+install='deadbeef-qt5-git.install'
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ echo "$(git rev-list --count HEAD).$(git describe --always)"
+}
+
+build() {
+ mkdir -p "${srcdir}/build"
+ cd "${srcdir}/build"
+ cmake "${srcdir}/${_pkgname}" -DCMAKE_INSTALL_PREFIX="/usr"
+ make clean && make
+}
+
+package() {
+ cd "${srcdir}/build" && make DESTDIR=$pkgdir install
+}
+
+