summaryrefslogtreecommitdiff
path: root/community/autocutsel
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-15 04:55:43 +0000
committerroot <root@rshg047.dnsready.net>2011-04-15 04:55:43 +0000
commit7d13548d48c1e98b9c12201685fd6fef5e9388db (patch)
tree3aa20fadd718d86194b0e9cd5b4b3aef3b64ada9 /community/autocutsel
parent5611a56fd08da4e95cdf8de446dda50d7afa80c8 (diff)
Fri Apr 15 04:55:43 UTC 2011
Diffstat (limited to 'community/autocutsel')
-rw-r--r--community/autocutsel/PKGBUILD13
-rw-r--r--community/autocutsel/autocutsel.install20
2 files changed, 26 insertions, 7 deletions
diff --git a/community/autocutsel/PKGBUILD b/community/autocutsel/PKGBUILD
index 6d0ea71be..452350efe 100644
--- a/community/autocutsel/PKGBUILD
+++ b/community/autocutsel/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 44972 2011-04-13 15:14:58Z shusmann $
+# $Id: PKGBUILD 45035 2011-04-14 10:45:17Z 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
+pkgrel=6
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')
+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
@@ -22,5 +22,4 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr install
- install -Dm755 $srcdir/$pkgname.sh $pkgdir/etc/X11/xinit/xinitrc.d/40-$pkgname
}
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
+}