Received: from mx.msys.ch (hq.msys.ch [46.175.8.8])
	by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 4467F782E99
	for <~alpine/apk-tools@lists.alpinelinux.org>; Mon,  9 May 2022 10:56:08 +0000 (UTC)
Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP])
	by mx.msys.ch (Postfix) with ESMTPA id CFD5BD0042542;
	Mon,  9 May 2022 10:56:06 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=msys.ch; s=dkim;
	t=1652093766;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=Pafa1WUajtfHLlphJFf8LegIm0DJGlhIjt/HG3y4gH0=;
	b=s40OvldkPamiwoT5VxIJzsDYJb7VwwXVfQIkOOXrX+JvvXVzi9CPCDty18sQU4PWqNThr8
	S2PqDSMikxTVuFoNn4FAax+EZoECR/QL/oYDyhpPzdjtcMeLM8Yjz2oE5h1Kh6NCxFl/3C
	rsqjq5g5G0dCnmjatfM7ZgGuZ6bGfcs=
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0
Subject: Re: Creating an .apk package from local files, without downloading
 and building sources
From: Marc Balmer <marc@msys.ch>
In-Reply-To: <20220509115754.5cb9fd0b@vostro>
Date: Mon, 9 May 2022 12:56:05 +0200
Cc: ~alpine/apk-tools@lists.alpinelinux.org
Content-Transfer-Encoding: 7bit
Message-Id: <214BF52B-EB48-4970-B1A8-6576B888A3F4@msys.ch>
References: <D194B900-6A60-4A2C-B520-513D8F1263D6@msys.ch>
 <20220509115754.5cb9fd0b@vostro>
To: Timo Teras <timo.teras@iki.fi>
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=msys.ch;
	s=dkim; t=1652093766;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=Pafa1WUajtfHLlphJFf8LegIm0DJGlhIjt/HG3y4gH0=;
	b=lDTCHDxhSugdL35B7uFdDdomAaJdL2ahEOrF+YNje5ylWUG1bvEW9UIqgfn3l/ssMhJpF2
	4rvIdJ9gOyPxo6KNYteexzXquQtAjUqbiHfjNWs9gv+6rSFmwJFflyInJ3O2KVZ2W5IPYO
	zesVoJhCpp+F8Lq7Nk/rF+jCskAiyPQ=
ARC-Seal: i=1; s=dkim; d=msys.ch; t=1652093766; a=rsa-sha256; cv=none;
	b=FOESDnlEDJQpDtQ17wapfinSZHTh3iDnDEd5xzz5sgWxEYHl9hkvcsVWDVRqrTXvu2pUSJ
	7e9ScBzLWsPhEj459S9sm2cD+DoE7bUFWDwdScDDwHN9di5mrL/ddoQkgHjJTRbSZm/e/c
	AMFrvWTRvtsZ6ae6mYeY77vrWKD8eko=
ARC-Authentication-Results: i=1;
	mx.msys.ch;
	auth=pass smtp.auth=marc@msys.ch smtp.mailfrom=marc@msys.ch
Authentication-Results: mx.msys.ch;
	auth=pass smtp.auth=marc@msys.ch smtp.mailfrom=marc@msys.ch
X-Spamd-Bar: /

Hi Timo


>>        # Create .PKGINFO
>>        @echo "# Generated by alpine.package.mk" > .PKGINFO
>>        @echo -n "# " >> .PKGINFO
>>        @date >> .PKGINFO
>>        @echo "package = ${PACKAGE}" >> .PKGINFO
> 
> Should be 'pkgname'.

Oh what a stupid mistake....  Now it works, thank you!

> 
>>        @echo "pkgver = ${PKGVER}" >> .PKGINFO
>>        @echo "pkgdesc = ${DESCRIPTION}" >> .PKGINFO
> 
> 
> Do note that the current 'master' of apk-tools has a new package
> format, and tooling in apk-tools itself for building those packages. We
> are looking to change all formats in future releases.

Is the new format being documented somewhere?

- Marc