diff options
Diffstat (limited to 'unmaintained/minitube')
-rw-r--r-- | unmaintained/minitube/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/minitube/APKBUILD b/unmaintained/minitube/APKBUILD new file mode 100644 index 0000000000..b5a4bf27f7 --- /dev/null +++ b/unmaintained/minitube/APKBUILD @@ -0,0 +1,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" |