From eb138316af01db365c176c831c70fa28f461baae Mon Sep 17 00:00:00 2001 From: ScrumpyJack Date: Mon, 4 Jul 2016 12:11:10 +0000 Subject: community/dvd+rw-tools: APKBUILD cleanup Minor clean up of the APKBUILD file --- community/dvd+rw-tools/APKBUILD | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'community') diff --git a/community/dvd+rw-tools/APKBUILD b/community/dvd+rw-tools/APKBUILD index 18fc28bac1..b2a6afa3db 100644 --- a/community/dvd+rw-tools/APKBUILD +++ b/community/dvd+rw-tools/APKBUILD @@ -1,5 +1,5 @@ # Contributor: ScrumpyJack -# Maintainer: +# Maintainer: ScrumpyJack pkgname=dvd+rw-tools pkgver=7.1 pkgrel=0 @@ -14,24 +14,15 @@ install="" subpackages="$pkgname-doc" source="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${pkgver}.tar.gz transport.hxx.patch" -_builddir=$srcdir/${pkgname}-${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 -} +builddir=$srcdir/${pkgname}-${pkgver} build() { - cd "$_builddir" + cd "$builddir" make } package() { - cd "$_builddir" + cd "$builddir" install -m755 -d "${pkgdir}/usr/bin" install -m755 -d "${pkgdir}/usr/share/man/man1" install -m755 growisofs dvd+rw-booktype dvd+rw-format \ -- cgit v1.2.3