summaryrefslogtreecommitdiffstats
path: root/main/libquvi-scripts/APKBUILD
blob: 0219b289640c6229d1d49f578ada9fbaaf270f79 (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
41
42
43
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libquvi-scripts
pkgver=0.4.21
pkgrel=0
pkgdesc="scripts for libquvi - the library for parsing video download links"
url="http://quvi.sourceforge.net/"
arch="noarch"
license="LGPLv2+"
depends=
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/quvi/${pkgver%.*}/$pkgname/libquvi-scripts-$pkgver.tar.xz"

_builddir="$srcdir"/libquvi-scripts-$pkgver
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"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="2690c995b7cd6193cbc774a7d89a885c  libquvi-scripts-0.4.21.tar.xz"
sha256sums="7c02cc86ac25334892d08bbc31251d78a55ee2a16d57dfa2bda7ac657c8e0f34  libquvi-scripts-0.4.21.tar.xz"
sha512sums="83a8ba10f688ceb57f37cae871dd71c0173b64f20dda4852b90a413665182aedf88e84ccd57a0f9ffee691760323e38c371aba5787fba17201847d4247c3616e  libquvi-scripts-0.4.21.tar.xz"