X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lists.alpinelinux.org (Postfix) with ESMTP id A003F5C0DB4 for ; Thu, 16 Mar 2017 15:26:17 +0000 (GMT) Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 1BBC31A219A for ; Thu, 16 Mar 2017 15:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1489677975; bh=1JIxosqN7I202nxXikSoNNUG/2NZqlCnqcIpVbOi0cA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kNALMqfrk6D3RLVwkztSQ0AsUOElebU9sZ32S6sWUqAh30bQqxI7PxfbFfSihBNdM D4xIpwMhf0u0ctYCFMALnIXk6Y3POwsodM5+/AzMCvUrCvD9GOPTqLxIHoarF6sw5U +yh9jlt/IOqQu+GUtfIxF84n+cUGmu2qlP1wl4NA= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pickfire) with ESMTPSA id 73ADE1C2A76 From: Ivan Tham To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 2/2] testing/libwacom: new aport Date: Thu, 16 Mar 2017 23:25:37 +0800 Message-Id: <20170316152537.10567-2-pickfire@riseup.net> In-Reply-To: <20170316152537.10567-1-pickfire@riseup.net> References: <20170316152537.10567-1-pickfire@riseup.net> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://linuxwacom.sourceforge.net/ Library to help implement Wacom tablet settings --- testing/libwacom/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/libwacom/APKBUILD diff --git a/testing/libwacom/APKBUILD b/testing/libwacom/APKBUILD new file mode 100644 index 00000000..ccda044f --- /dev/null +++ b/testing/libwacom/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Ivan Tham +# Maintainer: Ivan Tham +pkgname=libwacom +pkgver=0.24 +pkgrel=0 +pkgdesc="Library to help implement Wacom tablet settings" +url="http://linuxwacom.sourceforge.net/" +arch="all" +license="MIT" +depends="" +makedepends="libgudev-dev" +checkdepends="bash findutils" +install="" +subpackages="$pkgname-dev" +source="https://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir/"$pkgname-$pkgver + +build() { + cd "$builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +check() { + cd "$builddir" + make check || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -dm755 "$pkgdir"/usr/lib/udev/rules.d/ + tools/generate-udev-rules + > "$pkgdir"/usr/lib/udev/rules.d/65-libwacom.rules +} + +sha512sums="331acb33ab798abf376f70647786c894014d5baa373cc66d53f1e77e77129ba78ec059f32f5cf3659a1fe3e8f9ff6ab3eb6eefd6090fc3c3bab4582ea25a5640 libwacom-0.24.tar.bz2" -- 2.11.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---