X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 8D1DF170000BA for ; Fri, 6 Mar 2009 14:38:11 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so48668eya.13 for ; Fri, 06 Mar 2009 06:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=vxkZvvW759cDc3KEX2X6cF/30PKpuErETTm8M/5Ohn0=; b=qix5F+CYQZfjRyXQb6JtSlBYQuFsmKqfDABsqf9DoOmLr8fJEYxDQfdHZChMVs63ap dZkQI04v5Me5nt4X2dUb0X3aeNUZQRaX6Dge+Fy1pGlPhfBGTvvI3946e52xq5lYra8V GkoKWVDbeozrXh+S2OnZtDNy/gDr0vuwqXYr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=dQz93JYc33CrJ9EDrSF0fAIWn9LzZveiv1yzPah/VljsT2QpkslxgT06YDzzCxEHpP rccM6qtoTaCuAZtxmViXboA4khbB5m9t4eNqQRrGV7jOYkfbl9/Zg8XQ2lqUqGc14TLn 75whDGK5mPKGaMlW/i3kSi9ppN7HVjowLRjg4= Received: by 10.210.61.11 with SMTP id j11mr585073eba.29.1236350290948; Fri, 06 Mar 2009 06:38:10 -0800 (PST) Received: from ?10.65.65.1? (149-182-13.oke2-bras2.adsl.tele2.no [90.149.182.13]) by mx.google.com with ESMTPS id 10sm1810835eyd.43.2009.03.06.06.38.10 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 06:38:10 -0800 (PST) Subject: [alpine-devel] heads up: new format for install script From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain Date: Fri, 06 Mar 2009 15:38:08 +0100 Message-Id: <1236350288.1916.339.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 Content-Transfer-Encoding: 7bit last version of apk tools adds support for splitted installscripts, just like in the old 1.7.x days. We will use a separete script for each event. If you want something to happen before install you create a file named $pkgname.pre-install and if you want something to happen after you call it $pkgname.post-install. then you add all the scripts into the install variable: install="$pkgname.pre-install $pkgname.post-install" I have also fixed abuild so the installscript does not get included in -dev and -doc packages as it does right now. I will start adjust the aports now so you might need upgrade to latest apk-tools and abuild it you want compile those after I commit them. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---