diff options
author | Marius Nestor | 2015-07-13 12:42:11 +0300 |
---|---|---|
committer | Marius Nestor | 2015-07-13 12:42:11 +0300 |
commit | 597131234af3c8ab9f7eee6aca617b613ef75eef (patch) | |
tree | ec55368a20399b32eebc70d479eb1118e19c9198 | |
download | aur-597131234af3c8ab9f7eee6aca617b613ef75eef.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rwxr-xr-x | PKGBUILD | 24 | ||||
-rwxr-xr-x | musictube.install | 13 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7e7b587ec075 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = musictube + pkgdesc = A YouTube music player + pkgver = 1.5 + pkgrel = 1 + url = http://flavio.tordini.org/musictube + install = musictube.install + arch = i686 + arch = x86_64 + license = Proprietary + depends = qt4 + depends = phonon + +pkgname = musictube + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..874026541b88 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Marius Nestor <marius softpedia com> + +pkgname=musictube +pkgver=1.5 +pkgrel=1 +pkgdesc="A YouTube music player" +arch=('i686' 'x86_64') +url="http://flavio.tordini.org/musictube" +license=('Proprietary') +depends=('qt4' 'phonon') +install='musictube.install' + +if [[ "$CARCH" == "i686" ]]; then + source=("http://flavio.tordini.org/files/musictube/musictube.deb") + sha256sums=('65fe0bba1fa4352a969abc22b95d83d865aa08d764bab2d75cb948e88e9f9674') +elif [[ "$CARCH" == "x86_64" ]]; then + source=("http://flavio.tordini.org/files/musictube/musictube64.deb") + sha256sums=('e0bd22d7694c51ecfe620f93de089ee286de62ec178132fe74912681ffb721bb') +fi + +package() { + tar xzvf "$srcdir/data.tar.gz" -C "$pkgdir/" +} + diff --git a/musictube.install b/musictube.install new file mode 100755 index 000000000000..c50ebf80f6da --- /dev/null +++ b/musictube.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + |