X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-yk0-f177.google.com (mail-yk0-f177.google.com [209.85.160.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9D127DC0124 for ; Thu, 1 Jan 2015 10:40:34 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 9so8178955ykp.8 for ; Thu, 01 Jan 2015 02:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=unYMdcqbLP82KzK+isAisuSM+YE6XdgDhWFUXeUaYJ4=; b=04jtW24rj/TaqUdm2MRcq2edr8lIL/6WM6GMt/S0eDlNILAZ6VK9A8px6nXsCpMB8K 9iyIaSckOgYXoMgesgpNiIQ22AqxSe1egvwVBzLDOl7gCOJcn7OgJvPWixBtphfQLsjP EvLhncPYmwghwF8nAd63ylQsV6MV19a6qEeegcvMx1WV2Ga6ijf72hE++tToVukiafA9 wtonR/rNsdn4X8sGMmp9z1K2KFM0orA6/rCIF0oAs+Qfs5K3KIJJOGSDs1HDa7RlEdCw 2YrHgamEHAMyECJct8vok86wxzpOEU32Vyas6DB0NX7v6C979/qpHwjvA9c+hYHIEvcR Raug== X-Received: by 10.236.209.101 with SMTP id r65mr46206185yho.140.1420108833937; Thu, 01 Jan 2015 02:40:33 -0800 (PST) Received: from localhost (71-80-162-119.static.lsan.ca.charter.com. [71.80.162.119]) by mx.google.com with ESMTPSA id l20sm7107985yhb.29.2015.01.01.02.40.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jan 2015 02:40:33 -0800 (PST) From: systmkor To: alpine-aports@lists.alpinelinux.org Cc: systmkor@gmail.com Subject: [alpine-aports] [PATCH] testing/xclip: new aport Date: Thu, 1 Jan 2015 02:40:30 -0800 Message-Id: <1420108830-32753-1-git-send-email-systmkor@gmail.com> X-Mailer: git-send-email 2.2.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Command line interface to the X11 clipboard http://sourceforge.net/projects/xclip --- testing/xclip/APKBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testing/xclip/APKBUILD diff --git a/testing/xclip/APKBUILD b/testing/xclip/APKBUILD new file mode 100644 index 0000000..96038a9 --- /dev/null +++ b/testing/xclip/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Orion +# Maintainer: Orion +# Reference +# https://www.archlinux.org/packages/extra/x86_64/xclip/ +pkgname=xclip +pkgver=0.12 +pkgrel=0 +pkgdesc="Command line interface to the X11 clipboard" +url="http://sourceforge.net/projects/xclip" +arch="x86 x86_64" +license="GPL2" +depends="libxmu" +depends_dev="libxmu-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/xclip/${pkgname}-${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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="f7e19d3e976fecdc1ea36cd39e39900d xclip-0.12.tar.gz" +sha256sums="b7c7fad059ba446df5692d175c2a1d3816e542549661224806db369a0d716c45 xclip-0.12.tar.gz" +sha512sums="6c769878004c02d87b9eca2b33dc34edb40acc59be767a6481f207a74d52fca3725a040b0c8deffa1419b687bd73cf3124a090413c06787c0dd137b0ede795e0 xclip-0.12.tar.gz" -- 2.2.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---