X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.renta.net (mail.renta.net [203.25.238.7]) by lists.alpinelinux.org (Postfix) with ESMTP id C9CB761A7E8 for ; Tue, 4 Aug 2009 07:51:22 +0000 (UTC) Received: from [192.168.1.4] (60-240-81-28.static.tpgi.com.au [::ffff:60.240.81.28]) (AUTH: CRAM-MD5 markc@renta.net) by mail.renta.net with esmtp; Tue, 04 Aug 2009 17:51:21 +1000 id 00030082.4A77E879.00003087 Message-ID: <4A77E878.9070202@renta.net> Date: Tue, 04 Aug 2009 17:51:20 +1000 From: Mark Constable User-Agent: Thunderbird 2.0.0.22 (X11/20090719) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] How to handle regular git/svn builds References: <4A779F91.6090707@renta.net> <1249368727.12941.69.camel@localhost.localdomain> In-Reply-To: <1249368727.12941.69.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I know replying to myself can be considered rude but I'm not sure why when it is a direct on-topic extension to the discussion. Regarding this example, I now have this update installed within seconds of seeing this message because I have modified my local abuild source package to pull directly from git. It could be in my public binary repo in another few minutes if I rsync'd it up. [Alpine build tools - Feature #112] (Closed) An option to skip all dependency checks --markc Again FWIW, ... -------------------------------------------------------------- # Maintainer: Natanael Copa pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.0_rc4 pkgrel=$(date -u +%Y%m%d%H) url=http://git.alpinelinux.org/cgit/abuild/ source="" depends="fakeroot file sudo pax-utils openssl apk-tools" makedepends="openssl-dev pkgconfig" license=GPL-2 build() { _getsource || return 1 cd "$srcdir/$pkgname-$pkgver" make install DESTDIR="$pkgdir" install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf } _getsource() { [ -d $SRCDEST ] && cd $SRCDEST || return 1 if [ -d $pkgname/.git ]; then cd $pkgname && git pull origin else git clone git://git.alpinelinux.org/abuild $pkgname fi rsync -a --cvs-exclude --delete $SRCDEST/$pkgname/ $srcdir/$pkgname-$pkgver } --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---