X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 8C142DC029C for ; Sat, 6 Feb 2016 02:41:15 +0000 (UTC) Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 50CBCDC0287 for ; Sat, 6 Feb 2016 02:41:14 +0000 (UTC) Received: by mail-qg0-f46.google.com with SMTP id u30so82806773qge.1 for ; Fri, 05 Feb 2016 18:41:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=msqITwf0ZLU0C7sydvfPR2nyY1gi7t/uE3iL4T8Yv3k=; b=IRn/kz8MDEKveKYh+P5T5PHovBPkcLXdt39BASo3RDtf44T43D9gcymXclcUx+RPkw BMChr/ifF3c0TAtaD43Hbr8ZgM75YWYSW72o0RfgREW80MM+pUhi5pphX5UxnEuL8lTH IkzGgc6PgzbfvNlLK8GYKdWVih1HMyY2UnTMzG4wGKxRHO1+Y8DoQqerXaR6QT132Bw9 GmhEb/Dl1SJnFIKgBSExJu+4ViPUb0cLUmFGD5rzF/4oicXIpLop2vPOBCJfDhaDz203 L3wsTiDzHnBvydax2jw2kiHAElUK2BEum3I84pnfqdATZAPioTM0o0ZpzqdoOsySeTrn AeLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=msqITwf0ZLU0C7sydvfPR2nyY1gi7t/uE3iL4T8Yv3k=; b=jLw8PpbbDrgzXvNYyym3unq2PvYwQc9ExlOewLdAT+NF750dF6nTIuYnCSHkoASf+i cHZItvYkQTKgGgmchCBzX3Ga8Uesr3MQ4443NzvbzK0uRAOT/D3qQ19dCQ+SdD9G9S+Q KbBVkbSCyR9Yx2tbqYs93pVzUrLqWT0SypJNAy8pi94iqcVXN93o7MYxAoB1VuYikLNy KYM+pPya38PzQ5QQNqlneLcKY0zAtwcntCAFokeiYfmLKBnTTOvik7XLoZ3mC1Z7ujwe GGQx7ziMY2KrZke0hsXfRJI8tb1YXKiJPaiwVkPnhVi5eD5RHy6SDYH16XOQw0uUZJTR SjLw== X-Gm-Message-State: AG10YORXR72KHXyZe7BEr4KKJLBfjc41OGXrTm5C2tc8AfpvA0cK3kUljNXwbY2HH5WQFF5hrDhxpTTgjF4KTQ== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.140.144.83 with SMTP id 80mr6944443qhq.102.1454726474131; Fri, 05 Feb 2016 18:41:14 -0800 (PST) Received: by 10.55.39.200 with HTTP; Fri, 5 Feb 2016 18:41:14 -0800 (PST) In-Reply-To: <20160201000913.GA15574@gmail.com> References: <20160201000913.GA15574@gmail.com> Date: Fri, 5 Feb 2016 21:41:14 -0500 Message-ID: Subject: [alpine-aports] Re: [PATCH] testing/editorconfig: new aport From: Paul Morgan To: alpine-aports@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 X-Virus-Scanned: ClamAV using ClamSMTP bump. is there anything i can do to get this in? -paul On Sun, Jan 31, 2016 at 7:09 PM, Paul Morgan wrote: > EditorConfig helps developers define and maintain consistent > coding styles between different editors and IDEs. > > This package provides the standalone editorconfig core binary > and library that is needed by various plugins. > > For example, the vim plugin (not in this package) > depends on the editorconfig binary (this package) > since vim is compiled without python support on Alpine. > --- > testing/editorconfig/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 testing/editorconfig/APKBUILD > > diff --git a/testing/editorconfig/APKBUILD b/testing/editorconfig/APKBUILD > new file mode 100644 > index 0000000..a69dbde > --- /dev/null > +++ b/testing/editorconfig/APKBUILD > @@ -0,0 +1,49 @@ > +# Contributor: > +# Maintainer: Paul Morgan > +pkgname=editorconfig > +pkgver=0.12.0 > +pkgrel=0 > +pkgdesc="EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)" > +url="https://github.com/editorconfig/editorconfig-core-c" > +arch="x86_64" > +license="BSD" # "Simplified" http://opensource.org/licenses/BSD-2-Clause > +depends="pcre" > +depends_dev="cmake doxygen gcc make musl-dev pcre-dev" > +makedepends="$depends_dev" > +install="" > +options="" > +subpackages="$pkgname-dev $pkgname-doc" > +source="$pkgname-$pkgver.tar.gz::https://github.com/editorconfig/editorconfig-core-c/archive/v$pkgver.tar.gz" > + > +_builddir="$srcdir"/$pkgname-core-c-$pkgver > +prepare() { > + local i > + cd "$_builddir" > + for i in $source; do > + case $i in > + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; > + esac > + done > +} > + > +build() { > + cd "$_builddir" > + cmake . \ > + -DCMAKE_BUILD_TYPE=Release \ > + -DCMAKE_INSTALL_PREFIX=/usr \ > + || return 1 > + make || return 1 > +} > + > +package() { > + cd "$_builddir" > + make DESTDIR="$pkgdir" install || return 1 > + # Remove symlink to editorconfig-$pkgver > + rm -f "$pkgdir/usr/bin/$pkgname" || return 1 > + # Rename editorconfig-$pkgver as editorconfig > + mv -f "$pkgdir/usr/bin/$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" || return 1 > +} > + > +md5sums="7bb7d82145984acf0b3568d161815b75 editorconfig-0.12.0.tar.gz" > +sha256sums="a53b67aca5ba307c37e9e002fa6cc5e5399ac0099eaeeca700ad703ee6e5278b editorconfig-0.12.0.tar.gz" > +sha512sums="5e3576a202823da0c78535b549efc29656d8fc15231ece2ad8e701bf2f7d76b14dc02e445dc71ea6a6da6fbcc624eac82539380e77a25111f215ace3f3a516e1 editorconfig-0.12.0.tar.gz" > -- > 2.7.0 > -- Paul Morgan --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---