summaryrefslogtreecommitdiff
path: root/smtube/Pkgfile
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2014-02-20 14:04:26 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2014-02-20 14:04:26 +0900
commit2610ea94f490fcb1c995790f88d4d713b818735f (patch)
treeab2ca8cd6fb3a428133b07afa8cd37e49685e52c /smtube/Pkgfile
parent6b9d5e8216486ac341809aca3976381560b3a4a1 (diff)
downloadcontrib-2610ea94f490fcb1c995790f88d4d713b818735f.tar.gz
contrib-2610ea94f490fcb1c995790f88d4d713b818735f.tar.xz
smtube: Initial commit
Diffstat (limited to 'smtube/Pkgfile')
-rw-r--r--smtube/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/smtube/Pkgfile b/smtube/Pkgfile
new file mode 100644
index 000000000..dfb287def
--- /dev/null
+++ b/smtube/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Youtube browser, player and downloader
+# URL: http://smplayer.sf.net/
+# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
+# Depends on: qt4
+# Optional: smplayer
+
+name=smtube
+version=1.8
+release=1
+source=(http://prdownloads.sf.net/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ # Remove most debug messages
+ find src -type f -name '*.cpp' -print0 | xargs -0 sed -i -e 's|qDebug(.*);|{}|g'
+
+ make DESTDIR=$PKG PREFIX=/usr install
+
+ rm -rf $PKG/usr/share/doc
+}

Generated by cgit