diff options
author | ReNoM | 2015-07-22 08:03:54 +0300 |
---|---|---|
committer | ReNoM | 2015-07-22 08:03:54 +0300 |
commit | 9acc5dc49c5b1dcda95a7b3b3ad626b63a7a27a5 (patch) | |
tree | 40e8f8671d2f1aabde65a954d027ca53694fbc29 | |
download | aur-9acc5dc49c5b1dcda95a7b3b3ad626b63a7a27a5.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rwxr-xr-x | PKGBUILD | 30 | ||||
-rwxr-xr-x | sopcast-player.install | 12 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e5dbb31792ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = sopcast-player + pkgdesc = GUI front-end for p2p TV sopcast + pkgver = 0.8.5 + pkgrel = 2 + url = http://code.google.com/p/sopcast-player/ + install = sopcast-player.install + arch = i686 + arch = x86_64 + license = GPL2 + depends = gtk2 + depends = hicolor-icon-theme + depends = pygtk + depends = sopcast + depends = vlc + source = http://sopcast-player.googlecode.com/files/sopcast-player-0.8.5.tar.gz + md5sums = 731e2f2a9c9af4ec4c92321fae9a2fea + +pkgname = sopcast-player + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..aa3cb4457921 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: archtux <antonio dot arias99999 at gmail dot com> + +pkgname=sopcast-player +pkgver=0.8.5 +pkgrel=2 +pkgdesc="GUI front-end for p2p TV sopcast" +arch=('i686' 'x86_64') +url="http://code.google.com/p/sopcast-player/" +license=('GPL2') +depends=('gtk2' 'hicolor-icon-theme' 'pygtk' 'sopcast' 'vlc') +#options=('!makeflags') +install=$pkgname.install +source=(http://sopcast-player.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('731e2f2a9c9af4ec4c92321fae9a2fea') + +prepare() { + cd $srcdir/$pkgname + # Python2 fix + sed -i 's#PYTHON ?= /usr/bin/python#\02#' Makefile +} + +build() { + cd $srcdir/$pkgname + make +} + +package() { + cd $srcdir/$pkgname + make DESTDIR=$pkgdir install +}
\ No newline at end of file diff --git a/sopcast-player.install b/sopcast-player.install new file mode 100755 index 000000000000..9446b3118a3c --- /dev/null +++ b/sopcast-player.install @@ -0,0 +1,12 @@ + +post_install() { +gtk-update-icon-cache -f -t usr/share/icons/hicolor +} + +post_upgrade() { +post_install $1 +} + +post_remove() { +gtk-update-icon-cache -f -t usr/share/icons/hicolor +}
\ No newline at end of file |