summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-util-macros/PKGBUILD
blob: af3786a08dd2c333954b5d286440d5e54319e066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 21902 2008-12-17 20:27:32Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-util-macros
pkgver=1.2.1
pkgrel=1
pkgdesc="X.Org Autotools macros"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/util/util-macros-${pkgver}.tar.bz2)
md5sums=('dc7ddaf9bea8b341510efe4dac125af4')

build() {
  cd "${srcdir}/util-macros-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}