# Contributor: dai9ah # Maintainer: dai9ah pkgname=xsel pkgver=1.2.0 pkgrel=1 pkgdesc="Command-line program for manipulating the X selection" url="http://www.vergenet.net/~conrad/software/xsel" arch="all" license="MIT" makedepends="libxt-dev autoconf automake libtool" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/kfish/xsel/archive/$pkgver.tar.gz" prepare() { default_prepare autoreconf -fi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { ./xsel --help > /dev/null } package() { make DESTDIR="$pkgdir" install } sha512sums="13c0b7f260525b86a5685129fff11d48c1dbbf1a8a703bec67749c4dffb044068a839cfbf99bc6e91acdf5cc2209865e7f0501341e3adfb3c1c3e0fcc65eb8eb xsel-1.2.0.tar.gz"