# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Dave Reisner <dreisner@archlinux.org>
# Contributor: Bert Muennich <be.muennich at gmail.com>

pkgname=urxvt-perls
pkgver=2.3
pkgrel=3
pkgdesc="URL and Mouseless text selection for rxvt-unicode"
arch=('any')
url='https://www.github.com/muennich/urxvt-perls'
license=('GPL2')
depends=('rxvt-unicode' 'perl' 'xsel')
install=$pkgname.install
source=($pkgname-$pkgver.tar.gz::https://github.com/muennich/$pkgname/archive/$pkgver.tar.gz)
sha256sums=('a632e4867fe285eef3f2cd6db3fff18153eb1053b95c9218bc9963d7f9927442')

package() {
  cd $pkgname-$pkgver

  install -dm755 "$pkgdir"/usr/lib/urxvt/perl
  install -t "$pkgdir"/usr/lib/urxvt/perl -m644 keyboard-select deprecated/{clipboard,url-select}
}
