summaryrefslogtreecommitdiff
path: root/community/autocutsel/PKGBUILD
blob: 6d0ea71be8a562f132a0074f2d7e5854f13a669f (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
# $Id: PKGBUILD 44972 2011-04-13 15:14:58Z shusmann $
# Contributor: Tom Killian <tom@archlinux.org>
# Contributor: Nikos Kouremenos (zeppelin) kourem at gmail dot com
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=autocutsel
pkgver=0.9.0
pkgrel=5
pkgdesc="synchronizes the two copy/paste buffers mainly used by X applications"
arch=('i686' 'x86_64')
depends=('libxaw' 'sh')
source=(http://lepton.fr/tools/$pkgname/$pkgname-$pkgver.tar.gz $pkgname.sh)
md5sums=('ba4a6f632cb4815ae4e5c3027c24cfc5'
         '27a15ab10e2988a8a479e3f015cabd00')
url="http://lepton.fr/tools/autocutsel/"
license=('GPL')
build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}
package() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=$pkgdir/usr install 
  install -Dm755 $srcdir/$pkgname.sh $pkgdir/etc/X11/xinit/xinitrc.d/40-$pkgname
}