summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
-rw-r--r--minitube-aur.install7
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d5611bac3c9e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Nov 29 14:32:23 UTC 2015
+pkgbase = minitube-aur
+ pkgdesc = A youtube client that does not need flash
+ pkgver = 2.5.1
+ pkgrel = 1
+ url = http://flavio.tordini.org/${pkgname}
+ install = minitube-aur.install
+ arch = i686
+ arch = x86_64
+ license = gpl3
+ depends = phonon-qt5
+ depends = qt5-script
+ depends = hicolor-icon-theme
+ replaces = minitube
+ source = http://flavio.tordini.org/files/minitube/minitube64.deb
+ md5sums = SKIP
+
+pkgname = minitube-aur
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e3e69ace1997
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Dave Blair <mail@dave-blair.de>
+# Contributor:
+# Contributor:
+
+pkgname='minitube-aur'
+pkgver='2.5.1'
+pkgrel='1'
+pkgdesc='A youtube client that does not need flash'
+replaces=('minitube')
+arch=('i686' 'x86_64')
+url='http://flavio.tordini.org/${pkgname}'
+license=('gpl3')
+install=${pkgname}.install
+depends=('phonon-qt5'
+ 'qt5-script'
+ 'hicolor-icon-theme')
+if [[ $CARCH = 'i686' ]]; then
+ source=("http://flavio.tordini.org/files/minitube/minitube.deb")
+else
+ source=("http://flavio.tordini.org/files/minitube/minitube64.deb")
+fi
+md5sums=('SKIP')
+
+prepare() {
+ cd "$srcdir"
+ msg2 'Extracting data from debian package'
+ bsdtar -xf data.tar.xz -C .
+}
+
+package() {
+ cd "$srcdir"
+ msg2 "Packaging..."
+ mv usr ${pkgdir/usr}
+}
diff --git a/minitube-aur.install b/minitube-aur.install
new file mode 100644
index 000000000000..8fdd0f8b4ccc
--- /dev/null
+++ b/minitube-aur.install
@@ -0,0 +1,7 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_install
+}