summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormaz-12015-11-08 22:39:53 +0800
committermaz-12015-11-08 22:39:53 +0800
commit793bb98dd7bee85af8ce2e3479b727a6d44904c0 (patch)
tree04e74541b8ac81045bef159537044d30f9a99e1d
downloadaur-793bb98dd7bee85af8ce2e3479b727a6d44904c0.tar.gz
init
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD47
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5aad3729a06
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = deadbeef-plugin-waveform-git
+ pkgver = r151
+ pkgrel = 1
+ url = https://github.com/cboxdoerfer/ddb_waveform_seekbar
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ source = git+https://github.com/cboxdoerfer/ddb_waveform_seekbar
+ md5sums = SKIP
+
+pkgname = deadbeef-plugin-waveform-gtk2-git
+ pkgdesc = Waveform Seekbar Plugin for the DeaDBeeF audio player (development version). GTK2 Ver
+ depends = deadbeef
+ depends = sqlite
+ depends = gtk2
+ provides = deadbeef-plugin-waveform-gtk2
+ conflicts = deadbeef-plugin-waveform-gtk2
+
+pkgname = deadbeef-plugin-waveform-gtk3-git
+ pkgdesc = Waveform Seekbar Plugin for the DeaDBeeF audio player (development version). GTK3 Ver
+ depends = deadbeef
+ depends = sqlite
+ depends = gtk3
+ provides = deadbeef-plugin-waveform-gtk3
+ conflicts = deadbeef-plugin-waveform-gtk3
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f32ad55a9e5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+pkgbase=deadbeef-plugin-waveform-git
+pkgname=(deadbeef-plugin-waveform-gtk2-git deadbeef-plugin-waveform-gtk3-git)
+pkgver=r151
+pkgrel=1
+_pkgdesc="Waveform Seekbar Plugin for the DeaDBeeF audio player (development version)"
+url="https://github.com/cboxdoerfer/ddb_waveform_seekbar"
+arch=('i686' 'x86_64')
+license='GPL2'
+
+_gitname=ddb_waveform_seekbar
+_gitroot=https://github.com/cboxdoerfer/${_gitname}
+
+source=git+$_gitroot
+md5sums=SKIP
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ printf "r""$(git rev-list --count HEAD)"
+}
+
+
+build() {
+ cd $_gitname
+
+ touch AUTHORS
+ touch ChangeLog
+
+ make
+}
+
+package_deadbeef-plugin-waveform-gtk2-git() {
+ pkgdesc=$_pkgdesc". GTK2 Ver"
+ depends=('deadbeef' 'sqlite' 'gtk2')
+ conflicts=('deadbeef-plugin-waveform-gtk2')
+ provides=('deadbeef-plugin-waveform-gtk2')
+
+ install -D -v -c $srcdir/$_gitname/gtk2/ddb_misc_waveform_GTK2.so $pkgdir/usr/lib/deadbeef/ddb_misc_waveform_GTK2.so
+}
+
+package_deadbeef-plugin-waveform-gtk3-git() {
+ pkgdesc=$_pkgdesc". GTK3 Ver"
+ depends=('deadbeef' 'sqlite' 'gtk3')
+ conflicts=('deadbeef-plugin-waveform-gtk3')
+ provides=('deadbeef-plugin-waveform-gtk3')
+ install -D -v -c $srcdir/$_gitname/gtk3/ddb_misc_waveform_GTK3.so $pkgdir/usr/lib/deadbeef/ddb_misc_waveform_GTK3.so
+}
+