summaryrefslogtreecommitdiff
path: root/community/minitube
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-22 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-03-22 00:01:28 +0000
commit39e662ccfbe62ae77d458159d192816171a22f43 (patch)
tree2484a55934cd77dd33597ab2f214de5b7326cf69 /community/minitube
parenta3108a9a809c496e1f6a0e9caf0acebac3889bfb (diff)
Thu Mar 22 00:01:28 UTC 2012
Diffstat (limited to 'community/minitube')
-rw-r--r--community/minitube/PKGBUILD24
-rw-r--r--community/minitube/minitube.install11
2 files changed, 35 insertions, 0 deletions
diff --git a/community/minitube/PKGBUILD b/community/minitube/PKGBUILD
new file mode 100644
index 000000000..4cdeafce2
--- /dev/null
+++ b/community/minitube/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 68258 2012-03-20 19:50:34Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=minitube
+pkgver=1.7.1
+pkgrel=3
+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=('ce336b8cca8294f85d8e34b6a7828e38')
+
+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
+}