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

prepare() {
	default_prepare || return 1
	update_config_guess
}

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="46ddfd887260a515199c2e1ba8c46d8a  libquvi-scripts-0.9.20131130.tar.xz"
sha256sums="17f21f9fac10cf60af2741f2c86a8ffd8007aa334d1eb78ff6ece130cb3777e3  libquvi-scripts-0.9.20131130.tar.xz"
sha512sums="97de4cead30dc181da700cbf3a0ad66ee709fef17f449f75cd43e0376a4aa53c7b2174188130aaa34dcc7ddc578581111f3655cb10f4b0c92df2f75d32c72a02  libquvi-scripts-0.9.20131130.tar.xz"