diff options
Diffstat (limited to 'community/autocutsel')
-rw-r--r-- | community/autocutsel/PKGBUILD | 14 | ||||
-rw-r--r-- | community/autocutsel/autocutsel.sh | 2 |
2 files changed, 10 insertions, 6 deletions
diff --git a/community/autocutsel/PKGBUILD b/community/autocutsel/PKGBUILD index 149b05f70..fac1d2930 100644 --- a/community/autocutsel/PKGBUILD +++ b/community/autocutsel/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 19645 2010-06-26 12:32:35Z shusmann $ +# $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=3 +pkgrel=5 pkgdesc="synchronizes the two copy/paste buffers mainly used by X applications" arch=('i686' 'x86_64' 'mips64el') -depends=('libxaw') -source=(http://lepton.fr/tools/autocutsel/autocutsel-$pkgver.tar.gz) -md5sums=('ba4a6f632cb4815ae4e5c3027c24cfc5') +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() { @@ -20,5 +21,6 @@ build() { } package() { cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr install + make prefix=$pkgdir/usr install + install -Dm755 $srcdir/$pkgname.sh $pkgdir/etc/X11/xinit/xinitrc.d/40-$pkgname } diff --git a/community/autocutsel/autocutsel.sh b/community/autocutsel/autocutsel.sh new file mode 100644 index 000000000..82fe19124 --- /dev/null +++ b/community/autocutsel/autocutsel.sh @@ -0,0 +1,2 @@ +autocutsel -fork & +autocutsel -selection PRIMARY -fork & |