[arch-commits] Commit in xorg-fonts-encodings/trunk (2 files)

Eric Bélanger eric at archlinux.org
Thu Apr 23 23:09:14 UTC 2009


    Date: Thursday, April 23, 2009 @ 19:09:13
  Author: eric
Revision: 36497

upgpkg: xorg-fonts-encodings 1.0.2-3
    Added license

Modified:
  xorg-fonts-encodings/trunk/PKGBUILD
  xorg-fonts-encodings/trunk/xorg-fonts-encodings.install

------------------------------+
 PKGBUILD                     |   10 ++++++----
 xorg-fonts-encodings.install |    5 -----
 2 files changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-23 23:08:00 UTC (rev 36496)
+++ PKGBUILD	2009-04-23 23:09:13 UTC (rev 36497)
@@ -3,19 +3,21 @@
 
 pkgname=xorg-fonts-encodings
 pkgver=1.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="X.org font encoding files"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
+license=('custom')
 depends=('xorg-font-utils')
-install="xorg-fonts-encodings.install"
+install=xorg-fonts-encodings.install
 source=(${url}/releases/individual/font/encodings-${pkgver}.tar.bz2)
 md5sums=('11adda157b03d63fd61d95ad7ef00466')
 
 build() {
-  cd ${startdir}/src/encodings-${pkgver}
+  cd ${srcdir}/encodings-${pkgver}
   ./configure --prefix=/usr \
               --with-encodingsdir=/usr/share/fonts/encodings
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+  make DESTDIR=${pkgdir} install || return 1
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }

Modified: xorg-fonts-encodings.install
===================================================================
--- xorg-fonts-encodings.install	2009-04-23 23:08:00 UTC (rev 36496)
+++ xorg-fonts-encodings.install	2009-04-23 23:09:13 UTC (rev 36497)
@@ -1,4 +1,3 @@
-# arg 1:  the new package version
 post_install() {
   echo -n "Regenerating font encodings... "
   pushd usr/share/fonts/encodings &>/dev/null
@@ -10,7 +9,3 @@
 post_upgrade() {
   post_install
 }
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list