summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/fontsproto/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/fontsproto/PKGBUILD b/abs/core/fontsproto/PKGBUILD
index 595f2e3..c4ddc51 100644
--- a/abs/core/fontsproto/PKGBUILD
+++ b/abs/core/fontsproto/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 51009 2009-09-04 13:55:55Z jgc $
+# $Id: PKGBUILD 154134 2012-03-23 17:17:02Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=fontsproto
-pkgver=2.1.0
+pkgver=2.1.2
pkgrel=1
pkgdesc="X11 font extension wire protocol"
-arch=(any)
+arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
+makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('395b300fd5120a7ff90cb8fea4e2356b9632dc3e')
+sha1sums=('538f0880faa6981cb1a348ced93dc715c42840f7')
build() {
cd "${srcdir}/${pkgname}-${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
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}