# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=quvi pkgver=0.9.5 pkgrel=5 pkgdesc="Command line tool for parsing video download links" url="http://quvi.sourceforge.net/" arch="all" license="LGPL-2.0-or-later" depends= depends_dev="libquvi-dev zlib-dev" makedepends="$depends_dev glib-dev" install="" subpackages="$pkgname-doc" source="https://downloads.sourceforge.net/project/quvi/${pkgver%.*}/quvi/quvi-$pkgver.tar.xz fix-memcorruption.patch " builddir="$srcdir"/quvi-$pkgver prepare() { default_prepare update_config_sub } build() { cd "$builddir" CFLAGS="$CFLAGS -g" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="ef50160b7f2b6b8c9049eb995cb26da3100b10e7af8206d98d2e128cde300ceb05a24dded06d7d49c0e691fcc2de5a4c5c9e9f439d40ca52cd0a3a24330c6d79 quvi-0.9.5.tar.xz 81984ac85b7346fe448455f16b561d483159843e92fe46803b737f688e5d6c9174c11d90b3071c0d000e9fe95547502bf9461240652da4f792ce5ccca46af794 fix-memcorruption.patch"