aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-08 15:36:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-08 19:23:24 +0000
commit0c5a624b72a7e62f2d02267894790963cda8029c (patch)
tree5d3bdaeaa4e771d4345880310b5a46a56db9f0ed
parent86347fb76ea35d4465b5198c100d095e42142eab (diff)
downloadaports-0c5a624b72a7e62f2d02267894790963cda8029c.tar.gz
aports-0c5a624b72a7e62f2d02267894790963cda8029c.tar.bz2
aports-0c5a624b72a7e62f2d02267894790963cda8029c.tar.xz
community/dvgrab: modernize
-rw-r--r--community/dvgrab/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/dvgrab/APKBUILD b/community/dvgrab/APKBUILD
index f8af684dd8..a439b977fe 100644
--- a/community/dvgrab/APKBUILD
+++ b/community/dvgrab/APKBUILD
@@ -7,19 +7,15 @@ pkgdesc="Utility to capture video from a DV camera"
url="http://www.kinodv.org/"
arch="all"
license="GPL-2.0-or-later"
-depends=
makedepends="libraw1394-dev libavc1394-dev libdv-dev libiec61883-dev
libjpeg-turbo-dev"
-install=""
subpackages="$pkgname-doc"
source="https://prdownloads.sourceforge.net/kino/dvgrab-$pkgver.tar.gz
musl-fixes.patch
fix-narrowing.patch
"
-builddir="$srcdir"/dvgrab-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,14 +23,12 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="7d9cae1661d27dbef1d0dcdf18966a0ab386d936803ff7d071a18e0303fca45631c9b27187a413adfa4391c395e5909e3b8dc5c543d529e7805550f1a3ee6735 dvgrab-3.5.tar.gz