~alpine/aports

1

[alpine-aports] [PATCH] testing/xclip: new aport

Details
Message ID
<1420108830-32753-1-git-send-email-systmkor@gmail.com>
Sender timestamp
1420108830
DKIM signature
missing
Download raw message
Patch: +52 -0
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 <systmkor@gmail.com>
# Maintainer: Orion <systmkor@gmail.com>
# 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
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20150115110344.5b270ab5@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1420108830-32753-1-git-send-email-systmkor@gmail.com> (view parent)
Sender timestamp
1421316224
DKIM signature
missing
Download raw message
On Thu,  1 Jan 2015 02:40:30 -0800
systmkor <systmkor@gmail.com> wrote:

> 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

this was added.

thanks!

-nc


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)