mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-23 00:32:22 +01:00
xclip should compile and work an arm based machines too. I don't have access to an arm machine running alpine so I couldn't test it...
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
# Contributor: Orion <systmkor@gmail.com>
|
|
# Maintainer: Orion <systmkor@gmail.com>
|
|
pkgname=xclip
|
|
pkgver=0.12
|
|
pkgrel=1
|
|
pkgdesc="Command line interface to the X11 clipboard"
|
|
url="http://sourceforge.net/projects/xclip"
|
|
arch="all"
|
|
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
|
|
}
|
|
|
|
md5sums="f7e19d3e976fecdc1ea36cd39e39900d xclip-0.12.tar.gz"
|
|
sha256sums="b7c7fad059ba446df5692d175c2a1d3816e542549661224806db369a0d716c45 xclip-0.12.tar.gz"
|
|
sha512sums="6c769878004c02d87b9eca2b33dc34edb40acc59be767a6481f207a74d52fca3725a040b0c8deffa1419b687bd73cf3124a090413c06787c0dd137b0ede795e0 xclip-0.12.tar.gz"
|