summaryrefslogtreecommitdiff
path: root/community/xsel/PKGBUILD
blob: f3bcc8b08c7e609659d3fbd8b40311e83a94a9e9 (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
# $Id: PKGBUILD 59067 2011-11-21 08:59:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=xsel
pkgver=1.2.0
pkgrel=4
pkgdesc="XSel is a command-line program for getting and setting the contents of the X selection"
arch=(i686 x86_64 'mips64el')
url="http://www.vergenet.net/~conrad/software/xsel/"
license=("custom")
depends=('libx11')
makedepends=('libxt')
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/
  install -D -m0644 COPYING $pkgdir/usr/share/licenses/xsel/COPYING
}