X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mx0.jmt.gr (mx0.jmt.gr [91.143.91.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9DFA1DC00D9 for ; Sat, 30 Aug 2014 17:07:46 +0000 (UTC) Received: from jmt.gr (unknown [172.22.173.227]) by mx0.jmt.gr (Postfix) with ESMTP id 887405BC9 for ; Sat, 30 Aug 2014 17:07:44 +0000 (UTC) Received: from jomat (uid 1000) (envelope-from jomat@jmt.gr) id 124ecf by jmt.gr (DragonFly Mail Agent v0.9); Sat, 30 Aug 2014 17:07:45 +0000 Content-Type: text/plain; charset=UTF-8 To: alpine-devel@lists.alpinelinux.org From: Johannes Matheis Subject: [alpine-devel] [PATCH] testing/xcalib: new aport Date: Sat, 30 Aug 2014 17:07:44 +0000 Message-Id: <1409418363-turnsole-84730@jmt.gr> User-Agent: turnsole, a heliotrope client v.git X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://xcalib.sourceforge.net/ A tiny monitor calibration loader for X.org --- testing/xcalib/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 testing/xcalib/APKBUILD diff --git a/testing/xcalib/APKBUILD b/testing/xcalib/APKBUILD new file mode 100644 index 0000000..501ed64 --- /dev/null +++ b/testing/xcalib/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Johannes Matheis +# Maintainer: Johannes Matheis +pkgname=xcalib +pkgver=0.8 +pkgrel=0 +pkgdesc="A tiny monitor calibration loader for X.org" +url="http://xcalib.sourceforge.net/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${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" + make xcalib || return 1 +} + +package() { + cd "$_builddir" + install -Dm755 xcalib $pkgdir/usr/bin/xcalib + + for i in README *.icc *.icm; do + install -Dm644 $i $pkgdir/usr/share/xcalib/$i + done + +} + +md5sums="1fbcae44ad8d754512fdd1e5f1b3a7e7 xcalib-source-0.8.tar.gz" +sha256sums="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6 xcalib-source-0.8.tar.gz" +sha512sums="08d4cf579e566543ef7e5d233a6a49dd34a791a6aac31510d459d2300ec81828cf77ba2c495ee0c5e72e910c1986fc53c9ccd8f8455f097747508dd6adae8216 xcalib-source-0.8.tar.gz" -- 2.0.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---