No need to set build_wrksrc for pkgs using nofetch and do_fetch.

This commit is contained in:
Juan RP
2011-10-14 19:24:20 +02:00
parent 83b70adc30
commit ab0af95d54
6 changed files with 25 additions and 47 deletions

View File

@@ -2,7 +2,6 @@
pkgname=linux-firmware
version="$(date +%Y%m%d)"
build_style=custom-install
build_wrksrc=$pkgname
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org/"
@@ -24,15 +23,13 @@ ar9170-firmware>=0"
Add_dependency build coreutils
Add_dependency build git
do_fetch()
{
do_fetch() {
url="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
msg_normal " Fetching source from $url ...\n"
cd ${wrksrc} && git clone $url
git clone ${url} ${pkgname}-${version}
}
do_install()
{
do_install() {
install -d ${DESTDIR}/lib/firmware
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
cp -a * ${DESTDIR}/lib/firmware