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

Andrea Scarpino andrea at archlinux.org
Mon Nov 28 09:02:23 UTC 2011


    Date: Monday, November 28, 2011 @ 04:02:23
  Author: andrea
Revision: 143661

Remove the old force option

Modified:
  gsfonts/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-28 08:38:02 UTC (rev 143660)
+++ PKGBUILD	2011-11-28 09:02:23 UTC (rev 143661)
@@ -17,14 +17,13 @@
 provides=(${_realname})
 install=xfonts.install
 source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
-options=(force)
 md5sums=('54935e7d6692792e414510490e3a0fa4')
 
-build() {
-  cd $srcdir || return 1
-  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm || return 1
-  bsdtar xf *.tar.bz2 || return 1
+package() {
+  cd $srcdir
+  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm
+  bsdtar xf *.tar.bz2
   install -d ${pkgdir}/usr/share/fonts/Type1
   install -m644 *.{pfb,pfm,afm} \
-                ${pkgdir}/usr/share/fonts/Type1/ || return 1
+                ${pkgdir}/usr/share/fonts/Type1/
 }




More information about the arch-commits mailing list