From 5f99a82d672c5ae05b6b91ec6ff568b84d2f2c4b Mon Sep 17 00:00:00 2001 From: gnastyle Date: Sat, 27 Feb 2016 13:26:15 +0100 Subject: [PATCH] xclip: update to 0.12 git --- xclip/PKGBUILD | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/xclip/PKGBUILD b/xclip/PKGBUILD index 24db08190..c43c647c2 100644 --- a/xclip/PKGBUILD +++ b/xclip/PKGBUILD @@ -1,25 +1,24 @@ -# -# Apps Packages for Chakra, part of chakra-project.org -# -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa - pkgname=xclip -pkgver=0.12 +pkgver=0.12_20160201 pkgrel=1 pkgdesc="A command line utility that provides interface to Xclipboard." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://sourceforge.net/projects/xclip" license=('GPL') depends=('libxmu' 'sh') +makedepends=('git') categories=('utils') -source=(http://downloads.sourceforge.net/sourceforge/xclip/$pkgname-$pkgver.tar.gz) -md5sums=('f7e19d3e976fecdc1ea36cd39e39900d') -sha1sums=('aed2cff18b9aecfe3377ad064c6a67518bbec211') +source=('git+https://github.com/astrand/xclip#commit=e2dd115d66ecf5c772fd5359362990c17ee0defd') +sha1sums=('SKIP') build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd "${srcdir}/${pkgname}" + ./bootstrap + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" install }