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

Sergej Pupykin spupykin at archlinux.org
Wed Nov 12 14:51:45 UTC 2014


    Date: Wednesday, November 12, 2014 @ 15:51:45
  Author: spupykin
Revision: 122440

upgpkg: ckermit 9.0.302-5

upd

Modified:
  ckermit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-12 14:46:46 UTC (rev 122439)
+++ PKGBUILD	2014-11-12 14:51:45 UTC (rev 122440)
@@ -18,13 +18,15 @@
 md5sums=('eac4dbf18b45775e4cdee5a7c74762b0'
          '5968e55dd472b2efb0e31cb3a6fb1655')
 
-build() {
+prepare() {
   cd $srcdir
   chmod -R og-rwx ./
   patch -p1 < lockdir.patch
+}
 
+build() {
+  cd $srcdir
   make linux
-
   echo "#!/usr/bin/ckermit" > _tmp.ini
   cat ckermit.ini >> _tmp.ini
 }
@@ -31,15 +33,9 @@
 
 package() {
   cd $srcdir
-
-  mkdir -m 0755 -p $pkgdir/usr/bin
-  mkdir -m 0755 -p $pkgdir/usr/share/man/man1
-  mkdir -m 0755 -p $pkgdir/usr/share/licenses/$pkgname
-
-  install -m 755 wermit $pkgdir/usr/bin/ckermit
+  install -Dm0755 wermit $pkgdir/usr/bin/ckermit
   ln -s /usr/bin/ckermit $pkgdir/usr/bin/ckermit-sshsub
-  install -m 644 ckuker.nr $pkgdir/usr//share/man/man1/ckermit.1
-  install -m 644 COPYING.TXT $pkgdir/usr/share/licenses/$pkgname/License.txt
-
-  install -m 755 _tmp.ini $pkgdir/usr/bin/ckermit.ini
+  install -Dm0644 ckuker.nr $pkgdir/usr//share/man/man1/ckermit.1
+  install -Dm0644 COPYING.TXT $pkgdir/usr/share/licenses/$pkgname/License.txt
+  install -Dm0755 _tmp.ini $pkgdir/usr/bin/ckermit.ini
 }


More information about the arch-commits mailing list