aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/minitube/APKBUILD
blob: b5a4bf27f7dde938d39a4e4f5b9139ba845edd70 (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
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minitube
pkgver=2.2
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="http://flavio.tordini.org/files/minitube/minitube-$pkgver.tar.gz"

_builddir="$srcdir"/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="b8483b2cfc4be460f347ed9342e3789f  minitube-2.2.tar.gz"
sha256sums="1076981044d62e5c0b52754d34acde46be5e8bdf4813ae7cead7c9ae038133e1  minitube-2.2.tar.gz"
sha512sums="75c783f22171e56875d2d2ba3260f5402ab3c638fb84f5d0c97d3bc05597b66e45f9d8e9bdfec9c30574af1aca5e74a40ad879c8943767271414968ea98221a1  minitube-2.2.tar.gz"