summaryrefslogtreecommitdiff
path: root/community/xsel/PKGBUILD
blob: 5961b7fb01775e24a90d10be8ca9630f891f4474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $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=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=("custom")
depends=(libx11)
source=(http://www.vergenet.net/~conrad/software/xsel/download/$pkgname-$pkgver.tar.gz)
md5sums=('75983f143ce83dc259796c6eaf85c8f5')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  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
}