summaryrefslogtreecommitdiff
path: root/community/minitube
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/minitube
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/minitube')
-rw-r--r--community/minitube/PKGBUILD25
-rw-r--r--community/minitube/minitube.install11
2 files changed, 36 insertions, 0 deletions
diff --git a/community/minitube/PKGBUILD b/community/minitube/PKGBUILD
new file mode 100644
index 000000000..e010ef758
--- /dev/null
+++ b/community/minitube/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 83577 2013-02-03 13:21:39Z speps $
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=minitube
+pkgver=2.0
+pkgrel=1
+pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
+arch=('i686' 'x86_64')
+url='http://flavio.tordini.org/minitube'
+license=('GPL')
+depends=('phonon')
+install="$pkgname.install"
+source=("http://flavio.tordini.org/files/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('7df1e44b86a4744a492ccc414c0fa77d')
+
+build() {
+ cd "$srcdir/$pkgname"
+ qmake
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make install INSTALL_ROOT="$pkgdir/"
+}
diff --git a/community/minitube/minitube.install b/community/minitube/minitube.install
new file mode 100644
index 000000000..1c0de2e4f
--- /dev/null
+++ b/community/minitube/minitube.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}