Commits

olegoandreev  committed eb609e6

Fixed arch package generation scripts.

  • Participants
  • Parent commits e92831a

Comments (0)

Files changed (1)

File dist/prepare-arch-pkg

 
 FULLNAME=$PACKAGENAME-$PACKAGEVERSION
 
+# Arch requries 755 permissions on directories now
+umask 022
+
 mkdir arch/build
 
 ./make-source-dir
 mkdir arch/build/$PACKAGENAME
 cat arch/PKGBUILD.template | sed "s/PACKAGENAME/$PACKAGENAME/" \
     | sed "s/PACKAGEVERSION/$PACKAGEVERSION/g" | sed "s/SRCSHA512SUM/$SRCSHA512SUM/g" > arch/build/$PACKAGENAME/PKGBUILD
+cat arch/AURINFO.template | sed "s/PACKAGENAME/$PACKAGENAME/" \
+    | sed "s/PACKAGEVERSION/$PACKAGEVERSION/g" > arch/build/$PACKAGENAME/.AURINFO
 
 cd arch/build
 tar cvzf $FULLNAME-1.src.tar.gz $PACKAGENAME