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

Allan McRae allan at archlinux.org
Tue Jun 15 05:16:20 UTC 2010


    Date: Tuesday, June 15, 2010 @ 01:16:19
  Author: allan
Revision: 82650

fix $startdir usage

Modified:
  kbd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-15 04:52:48 UTC (rev 82649)
+++ PKGBUILD	2010-06-15 05:16:19 UTC (rev 82650)
@@ -13,7 +13,7 @@
 md5sums=('77d0b51454522bc6c170bbdc6e31202a')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
 
   # rename keymap files with the same names
   # this is needed because when only name of keymap is specified
@@ -27,11 +27,11 @@
 
   ./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
   make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes || return 1
-  make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${startdir}/pkg install
+  make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
 
   # this is needed because initscripts call /bin/loadkeys
   # remove this when next versions of kbd
   # and initscripts with /usr/bin/loadkeys usage will be released
-  mkdir ${startdir}/pkg/bin
-  ln -s /usr/bin/loadkeys ${startdir}/pkg/bin/loadkeys
+  mkdir ${pkgdir}/bin
+  ln -s /usr/bin/loadkeys ${pkgdir}/bin/loadkeys
 }




More information about the arch-commits mailing list