summaryrefslogtreecommitdiff
path: root/community/xsel/PKGBUILD
blob: 7e945448d7a11b9c94e52e22ac7e9c8ec2a8ca44 (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 65271 2012-02-20 12:44:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=xsel
pkgver=1.2.0
pkgrel=5
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
}