summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02191b6589aab47604304949d73e97a89ad6d629 (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=1.2.0
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}/releases/download/v${pkgver}/${pkgname}-$pkgver.tar.gz")
sha256sums=('b500d1a71378e69a2a348032107e6d8db728b8f6af280a9bb4cb446c1d26e43a')

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: