[arch-commits] Commit in (5 files)
speps
speps at nymeria.archlinux.org
Fri Jul 12 01:35:58 UTC 2013
Date: Friday, July 12, 2013 @ 03:35:58
Author: speps
Revision: 93958
addpkg: smtube 1.7
Added:
smtube/
smtube/repos/
smtube/trunk/
smtube/trunk/PKGBUILD
smtube/trunk/smtube.install
----------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
smtube.install | 12 ++++++++++++
2 files changed, 43 insertions(+)
Added: smtube/trunk/PKGBUILD
===================================================================
--- smtube/trunk/PKGBUILD (rev 0)
+++ smtube/trunk/PKGBUILD 2013-07-12 01:35:58 UTC (rev 93958)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Andreas Schnaiter <rc.poison at gmail.com>
+
+pkgname=smtube
+pkgver=1.7
+pkgrel=1
+pkgdesc="A small youtube browser"
+arch=('i686' 'x86_64')
+url="http://smplayer.sourceforge.net"
+license=('GPL')
+depends=('qt4')
+optdepends=('mplayer: play videos with MPlayer'
+ 'smplayer: play videos with SMPlayer'
+ 'gnome-mplayer: play videos with GNOME MPlayer'
+ 'kdemultimedia-dragonplayer: play videos with Dragon Player'
+ 'totem: play videos with Totem'
+ 'vlc: play videos with VLC')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2")
+md5sums=('d9a954e1b337f0c850dcfc6063255056')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+}
Property changes on: smtube/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: smtube/trunk/smtube.install
===================================================================
--- smtube/trunk/smtube.install (rev 0)
+++ smtube/trunk/smtube.install 2013-07-12 01:35:58 UTC (rev 93958)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list