diff options
Diffstat (limited to 'community/xsel')
-rw-r--r-- | community/xsel/PKGBUILD | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/community/xsel/PKGBUILD b/community/xsel/PKGBUILD index 5a71a94a2..5961b7fb0 100644 --- a/community/xsel/PKGBUILD +++ b/community/xsel/PKGBUILD @@ -1,21 +1,32 @@ -# $Id: PKGBUILD 17449 2010-05-24 10:42:48Z spupykin $ +# $Id: PKGBUILD 44722 2011-04-11 12:24:43Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=xsel pkgver=1.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="XSel is a command-line program for getting and setting the contents of the X selection" arch=(i686 x86_64) url="http://www.vergenet.net/~conrad/software/xsel/" -license=("GPL") -depends=(libxext libsm) +license=("custom") +depends=(libx11) source=(http://www.vergenet.net/~conrad/software/xsel/download/$pkgname-$pkgver.tar.gz) md5sums=('75983f143ce83dc259796c6eaf85c8f5') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make + make DESTDIR=$pkgdir install + mkdir -p $pkgdir/usr/share/licenses/xsel/ + cat >$pkgdir/usr/share/licenses/xsel/LICENSE <<EOF +Copyright (C) 2001 Conrad Parker <conrad@vergenet.net> + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation. No +representations are made about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. +EOF } |