diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/autocutsel | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/autocutsel')
-rw-r--r-- | community/autocutsel/PKGBUILD | 25 | ||||
-rw-r--r-- | community/autocutsel/autocutsel.install | 20 |
2 files changed, 45 insertions, 0 deletions
diff --git a/community/autocutsel/PKGBUILD b/community/autocutsel/PKGBUILD new file mode 100644 index 000000000..6e39cc60d --- /dev/null +++ b/community/autocutsel/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 64911 2012-02-18 20:21:56Z jelle $ +# 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=7 +pkgdesc="synchronizes the two copy/paste buffers mainly used by X applications" +arch=('i686' 'x86_64') +depends=('libxaw') +source=(http://lepton.fr/tools/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('ba4a6f632cb4815ae4e5c3027c24cfc5') +url="http://lepton.fr/tools/autocutsel/" +install=autocutsel.install +license=('GPL') +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install +} diff --git a/community/autocutsel/autocutsel.install b/community/autocutsel/autocutsel.install new file mode 100644 index 000000000..56fde35d7 --- /dev/null +++ b/community/autocutsel/autocutsel.install @@ -0,0 +1,20 @@ +post_install() { + cat << EOF + Add the following lines to your ~/.xinitrc or, for + system-wide use, to a new file, named, say, 40-autocutsel + in the directory /etc/X11/xinit/xinitrc.d/ : + +autocutsel -fork & +autocutsel -selection PRIMARY -fork & +EOF +} + +post_upgrade() { + post_install +} +post_remove() { +cat << EOF + you might want to remove autocutsel related files in + /etc/X11/xinit/xinitrc.d now. +EOF +} |