summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPolochon-street2015-10-10 23:21:20 +0200
committerPolochon-street2015-10-10 23:21:20 +0200
commita8ee1c70476ee67034208a1321a0fe6b6efb7f38 (patch)
treedc37887240a1009fe1fa8015211c9468ef7ffce1
downloadaur-a8ee1c70476ee67034208a1321a0fe6b6efb7f38.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD29
-rw-r--r--leleleplayer.install11
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..45e507094b1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = leleleplayer-git
+ pkgdesc = An audio player wich can find similar songs in your library
+ pkgver = 0.1
+ pkgrel = 1
+ install = leleleplayer.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = gstreamer
+ depends = gst-plugins-base
+ depends = gst-plugins-good
+ depends = ffmpeg
+ depends = gtk3
+ optdepends = gst-plugins-bad: Needed for MP3 (and other formats) support
+ optdepends = gst-plugins-ugly: Needed for some audio format support
+ source = git://github.com/Polochon-street/leleleplayer.git
+ md5sums = SKIP
+
+pkgname = leleleplayer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dc6cb6f381f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+pkgname=leleleplayer-git
+_gitname=leleleplayer
+pkgver=0.1
+pkgrel=1
+pkgdesc="An audio player wich can find similar songs in your library"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'ffmpeg' 'gtk3')
+optdepends=('gst-plugins-bad: Needed for MP3 (and other formats) support'
+ 'gst-plugins-ugly: Needed for some audio format support')
+install="$_gitname.install"
+source=('git://github.com/Polochon-street/leleleplayer.git')
+md5sums=('SKIP')
+
+prepare() {
+ cd "$srcdir/$_gitname"
+ mkdir -p build
+}
+
+build() {
+ cd "$srcdir/$_gitname/build"
+ cmake .. -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname/build"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/leleleplayer.install b/leleleplayer.install
new file mode 100644
index 00000000000..4adec476db9
--- /dev/null
+++ b/leleleplayer.install
@@ -0,0 +1,11 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}