summaryrefslogtreecommitdiff
path: root/extra/xorg-xclipboard/PKGBUILD
blob: 835cb897f8b9a3b49a45b515be7b6de7422c620d (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
# $Id: PKGBUILD 193937 2013-09-07 07:08:34Z lcarlier $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xclipboard
pkgver=1.1.3
pkgrel=1
pkgdesc="X clipboard manager"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xclipboard-${pkgver}.tar.bz2)
sha256sums=('9c0e0a1f4f1d49f73c6cf3ccd27b5ca0e18afc63679f1a1ee466b1d82446ebb5')

build() {
  cd "${srcdir}/xclipboard-${pkgver}"
  ./configure --prefix=/usr
  make
}

package(){
  cd "${srcdir}/xclipboard-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}