community/dvd+rw-tools: APKBUILD cleanup

Minor clean up of the APKBUILD file
This commit is contained in:
ScrumpyJack 2016-07-04 12:11:10 +00:00 committed by Bartłomiej Piotrowski
parent f3b49f10a4
commit eb138316af

View File

@ -1,5 +1,5 @@
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer:
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
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 \