summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShatur952017-11-23 18:35:57 +0200
committerShatur952017-11-23 18:35:57 +0200
commit4f943237bbcef9eb53b84f4cda246e426ceeaefe (patch)
tree84e8b0fccecb8a32618a3eb22a3b3cc1bd9682ed /PKGBUILD
downloadaur-deadbeef-plugin-headerbar-gtk3-git.tar.gz
Initial release
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..18d0ba88b2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Gennadiy Chernyshyk <genaloner@gmail.com>
+pkgname=deadbeef-plugin-headerbar-gtk3-git
+pkgver=r102
+pkgrel=1
+pkgdesc="Headerbar Plugin for the DeaDBeeF audio player (development version)"
+url="https://github.com/saivert/ddb_misc_headerbar_GTK3"
+arch=("i686" "x86_64")
+license=("GPL2")
+
+_gitname=ddb_misc_headerbar_GTK3
+_gitroot=https://github.com/saivert/${_gitname}
+
+source=("git+$_gitroot")
+md5sums=("SKIP")
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ printf "r""$(git rev-list --count HEAD)"
+}
+
+
+build() {
+ cd $_gitname
+
+ touch AUTHORS
+ touch ChangeLog
+
+ ./autogen.sh
+ ./configure
+ make
+}
+
+package() {
+ depends=("deadbeef" "gtk3")
+ conflicts=("deadbeef-plugin-headerbar-gtk3")
+ provides=("deadbeef-plugin-headerbar-gtk3")
+ install -D -v -c $srcdir/$_gitname/src/.libs/ddb_misc_headerbar_GTK3.so $pkgdir/usr/lib/deadbeef/ddb_misc_headerbar_GTK3.so
+}
+