summaryrefslogtreecommitdiffstats
path: root/abs/core/xcmiscproto/PKGBUILD
blob: 48eddf94a6e9109ab2a758af38102667eb7ce56c (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
# $Id: PKGBUILD 154142 2012-03-23 17:22:50Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xcmiscproto
pkgver=1.2.2
pkgrel=1
pkgdesc="X11 XC-Miscellaneous extension wire protocol"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('59ae9ec6414964440bf654b207618e5dd66a32fb')

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

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