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

Allan McRae allan at archlinux.org
Fri Feb 24 07:49:18 EST 2012


    Date: Friday, February 24, 2012 @ 07:49:18
  Author: allan
Revision: 150992

upgpkg: xtrans 1.2.6-2

signing rebuild

Modified:
  xtrans/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-24 12:47:38 UTC (rev 150991)
+++ PKGBUILD	2012-02-24 12:49:18 UTC (rev 150992)
@@ -2,9 +2,9 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=xtrans
 pkgver=1.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="X transport library"
-arch=(any)
+arch=('any')
 license=('custom')
 url="http://xorg.freedesktop.org/"
 options=(!emptydirs)
@@ -15,9 +15,12 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   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}/"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
   install -m755 -d "${pkgdir}/usr/lib"
   mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig"
 }



More information about the arch-commits mailing list