summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e05e98f70857fbd35f9b9ac27b717bc3e70a44a8 (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
27
28
# Maintainer: Javier TiĆ” <javier dot tia at gmail dot com>

pkgname=yank
pkgver=0.8.3
pkgrel=1
pkgdesc='Copy terminal output to clipboard'
arch=('i686' 'x86_64')
url="https://github.com/mptre/yank"
license=("MIT")
depends=("xsel")
provides=("${pkgname}-git")
conflicts=("${pkgname}-git")
source=("${url}/archive/v$pkgver.tar.gz")
sha1sums=('7eceff6ea3beae26c1c0f3c35471ad8fc5f9ef70')

build() {
  cd "${pkgname}-${pkgver}"
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  install -Dm0755 yank "${pkgdir}"/usr/bin/yank
  install -Dm0644 README.md "${pkgdir}"/usr/share/doc/${pkgname%-*}/README.md
  install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname%-*}/LICENSE
}

# vim:set ts=2 sw=2 et: