blob: 9262fb2bfcabcd3b67ec8544606b475f8345f739 (
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
35
36
37
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minitube
pkgver=2.0
pkgrel=0
pkgdesc="Youtube desktop application"
url="http://flavio.tordini.org/minitube"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev qt-dev phonon-dev"
install=""
subpackages=""
source="minitube-$pkgver.tar.gz::http://gitorious.org/minitube/minitube/archive-tarball/$pkgver"
_builddir="$srcdir"/minitube-minitube
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
qmake && make "CXX=${CXX:-g++}" CXXFLAGS="$CXXFLAGS" || return 1
}
package() {
cd "$_builddir"
make install INSTALL_ROOT="$pkgdir"
}
md5sums="3f7f301215eb1345f22c08eb725311f3 minitube-2.0.tar.gz"
sha256sums="235e126f25d1bd59c4dd6c62b9a1ece841fdae866b47f1b0a0f0d1e25d9ad993 minitube-2.0.tar.gz"
sha512sums="0a01d1a15ab16a9cc09e778dc4ed24fe93fb30ab996fddc768ae725536070defe9f1e0ac0817b305cf766cdc362a010f0da9588b58db785ff3e890c5cb331908 minitube-2.0.tar.gz"
|