summaryrefslogtreecommitdiff
path: root/community/minitube
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/minitube
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 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
+}