No need to set build_wrksrc for pkgs using nofetch and do_fetch.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user