summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 471abc8c8542146f675cd2b1bc66c3af82d567f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Dave Blair <mail@dave-blair.de>
# Contributor: 
# Contributor: 

pkgname='minitube-aur'
pkgver='2.5.2'
pkgrel='1'
pkgdesc='A youtube client that does not need flash'
conflicts=('minitube')
arch=('i686' 'x86_64')
url='http://flavio.tordini.org/minitube'
license=('gpl3')
install=${pkgname}.install
depends=('phonon-qt5' 
	 'qt5-script' 
	 'hicolor-icon-theme')
if [[ $CARCH = 'i686' ]]; then
  source=("http://flavio.tordini.org/files/minitube/minitube.deb")
else
  source=("http://flavio.tordini.org/files/minitube/minitube64.deb")
fi
md5sums=('SKIP')

prepare() {
  cd "$srcdir"
  msg2 'Extracting data from debian package'
  bsdtar -xf data.tar.xz -C .
}

package() {
  cd "$srcdir"
  msg2 "Packaging..."
  mv usr ${pkgdir/usr}  
}