X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from vortex.2f30.org (vortex.2f30.org [65.49.80.40]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5AF5DDC012A for ; Wed, 11 Mar 2015 00:03:46 +0000 (UTC) Received: from cream.2f30.org (cream.2f30.org [85.159.210.185]); by vortex.2f30.org (OpenSMTPD) with ESMTPSA id 7ac9b630; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; for ; Tue, 10 Mar 2015 17:03:45 -0700 (PDT) Date: Wed, 11 Mar 2015 00:03:42 +0000 From: Dimitris Papastamos To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/xbattmon: new aport Message-ID: <20150311000342.GA21923@cream.2f30.org> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline See the attached patch. --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-testing-xbattmon-new-aport.patch" >From 0cbf268476df8338e62f0d67f8788fe9bc178dd2 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 10 Mar 2015 23:28:19 +0000 Subject: [PATCH] testing/xbattmon: new aport a simple battery monitor http://git.2f30.org/xbattmon --- testing/xbattmon/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/xbattmon/APKBUILD diff --git a/testing/xbattmon/APKBUILD b/testing/xbattmon/APKBUILD new file mode 100644 index 0000000..23d01bf --- /dev/null +++ b/testing/xbattmon/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: sin +# Maintainer: sin +pkgname=xbattmon +pkgver=0.7 +pkgrel=0 +pkgdesc="a simple battery monitor" +url="http://git.2f30.org/xbattmon" +arch="all" +license="ISC" +depends="" +depends_dev="" +makedepends="$depends_dev libx11-dev" +install="" +subpackages="$pkgname-doc" +source="http://dl.2f30.org/releases/xbattmon-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$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" + ./configure || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 +} +md5sums="534fd62ee1807795e0d8922e32d3f51f xbattmon-0.7.tar.gz" +sha256sums="01ff252a431f00e86215a01a8864dc1a65595aaccf2d5fce25911b55f1e5115e xbattmon-0.7.tar.gz" +sha512sums="e12e21aa56b9e1efd28b8a175a420fb3a6dae15926757a12f8769b9349f60479cef60a1b23360d7dee1999c9d27c71611c0dd9755d769adcfc39ac049bd8d942 xbattmon-0.7.tar.gz" -- 2.3.2 --PNTmBPCT7hxwcZjr-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---