summaryrefslogtreecommitdiffstats
path: root/abs/core/printproto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/printproto/PKGBUILD')
-rw-r--r--abs/core/printproto/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/printproto/PKGBUILD b/abs/core/printproto/PKGBUILD
index 4606f59..3b9fb67 100644
--- a/abs/core/printproto/PKGBUILD
+++ b/abs/core/printproto/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 71582 2010-03-07 20:09:38Z jgc $
+# $Id: PKGBUILD 151446 2012-02-26 11:00:00Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
+
pkgname=printproto
-pkgver=1.0.4
+pkgver=1.0.5
pkgrel=2
pkgdesc="X11 print extension wire protocol"
-arch=(any)
+arch=('any')
+makedepends=('xorg-util-macros')
license=('custom')
url="http://xorg.freedesktop.org/"
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('7321847a60748b4d2f1fa16db4b6ede8')
+source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('4ddb7781ebc2418d681a6f5e16d777aed56ea35e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}