# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Committer: Manolis Tzanidakis <manolis@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=xclip
pkgver=0.13
pkgrel=3
pkgdesc='Command line interface to the X11 clipboard'
url='https://github.com/astrand/xclip'
arch=('x86_64')
license=('GPL')
depends=('libxmu')
makedepends=('git')
source=('git+https://github.com/astrand/xclip#commit=9aa7090c3b8b437c6489edca32ae43d82e0c1281')
sha256sums=('SKIP')

build() {
	cd "${srcdir}/${pkgname}"
	./bootstrap
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${pkgname}"
	make DESTDIR="${pkgdir}" install
}
