[arch-commits] Commit in dmxproto/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 02:03:35 EST 2012


    Date: Saturday, February 25, 2012 @ 02:03:34
  Author: pierre
Revision: 151183

upgpkg: dmxproto 2.3.1-2

rebuild old package

Modified:
  dmxproto/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 07:02:48 UTC (rev 151182)
+++ PKGBUILD	2012-02-25 07:03:34 UTC (rev 151183)
@@ -3,21 +3,25 @@
 
 pkgname=dmxproto
 pkgver=2.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 Distributed Multihead X extension wire protocol"
-arch=(any)
+arch=('any')
 makedepends=('xorg-util-macros')
 url="http://xorg.freedesktop.org/"
 license=('custom')
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
 sha1sums=('3b8b273b8ef3d8dbab998df9ec1dddf99edf4d91')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
-  make || return 1
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   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}/"
 }



More information about the arch-commits mailing list