diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-14 09:06:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-14 09:12:33 +0000 |
commit | cda7126dd308de67781061035b15a7f99f9622de (patch) | |
tree | c745c2e4e88457183b8f4f65fe3014cdf0b27a8f /main/quvi | |
parent | 62b93e34c199519a8a48ddbe9bf18850c305e36f (diff) | |
download | aports-cda7126dd308de67781061035b15a7f99f9622de.tar.bz2 aports-cda7126dd308de67781061035b15a7f99f9622de.tar.xz |
main/quvi: moved from testing
Diffstat (limited to 'main/quvi')
-rw-r--r-- | main/quvi/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/quvi/APKBUILD b/main/quvi/APKBUILD new file mode 100644 index 0000000000..6898a5abac --- /dev/null +++ b/main/quvi/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=quvi +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Command line tool for parsing video download links" +url="http://quvi.sourceforge.net/" +arch="all" +license="LGPLv2+" +depends= +depends_dev="libquvi-dev zlib-dev openssl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/quvi/${pkgver%.*}/quvi/quvi-$pkgver.tar.bz2" + +_builddir="$srcdir"/quvi-$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 \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="3d59361a98b794392655a36d4424ebcc quvi-0.4.0.tar.bz2" |