Commit f3b49f10 authored by Scrumpy Jack's avatar Scrumpy Jack Committed by Bartłomiej Piotrowski
Browse files

community/w3m: APKBUILD cleanup

Minor cleanup of APKBUILD file
parent 46e8f217
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=w3m
pkgver=0.5.3
pkgrel=1
......@@ -14,19 +16,10 @@ source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname
gc72.patch
w3m-0.5.3-parallel-make.patch
"
prepare() {
local i
cd "${srcdir}/${pkgname}-${pkgver}"
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 "${srcdir}/${pkgname}-${pkgver}"
cd $builddir
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
......@@ -45,7 +38,7 @@ build() {
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd $builddir
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/usr/share/doc/"${pkgname}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment