[arch-commits] Commit in lout/trunk (PKGBUILD lout.install)

Kyle Keen kkeen at nymeria.archlinux.org
Wed Feb 6 14:40:49 UTC 2013


    Date: Wednesday, February 6, 2013 @ 15:40:49
  Author: kkeen
Revision: 83916

upgpkg: lout 3.39-2, pkgdir todo

Modified:
  lout/trunk/PKGBUILD
  lout/trunk/lout.install

--------------+
 PKGBUILD     |   20 +++++++++++++++-----
 lout.install |    2 ++
 2 files changed, 17 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-06 14:27:16 UTC (rev 83915)
+++ PKGBUILD	2013-02-06 14:40:49 UTC (rev 83916)
@@ -2,25 +2,35 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 # Contributor: catwell <catwell at archlinux.us>
 
-# todo: bundle the short slides.pdf intro
-
 pkgname=lout
 pkgver=3.39
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight document formatting system."
 arch=('i686' 'x86_64')
 url="http://lout.wiki.sourceforge.net/"
 license=('GPL')
 depends=('glibc')
 install=lout.install
-source=(http://mirrors.ctan.org/support/$pkgname/$pkgname-$pkgver.tar.gz makefile.arch lout.install)
+source=(http://mirrors.ctan.org/support/$pkgname/$pkgname-$pkgver.tar.gz
+        makefile.arch
+        lout.install
+        http://pkgs.fedoraproject.org/repo/pkgs/lout/slides.pdf/6822c33e49a1dca0b090f297d404d7fa/slides.pdf)
 md5sums=('151e1fba676c7052936ccc1bcd9663a9'
          '088a29ca16477a9a30da9fafc9391de8'
-         'bc6c8df650fe75dd3c51d0c047c56f30')
+         '597cd52eb87ef6253cf769bed4db3952'
+         '6822c33e49a1dca0b090f297d404d7fa')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
   cp ../makefile.arch .
+  make -f makefile.arch
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
   make -f makefile.arch PKGDIR="$pkgdir" install
+  chmod 0775  "$pkgdir/usr/lib/lout/data/"
+  chgrp users "$pkgdir/usr/lib/lout/data/"
+  install -Dm644 "$srcdir/slides.pdf" "$pkgdir/usr/share/doc/$pkgname/introduction.pdf"
 }
 

Modified: lout.install
===================================================================
--- lout.install	2013-02-06 14:27:16 UTC (rev 83915)
+++ lout.install	2013-02-06 14:40:49 UTC (rev 83916)
@@ -1,6 +1,8 @@
 post_install()
 {
   /usr/bin/lout -x -s /usr/lib/lout/include/init
+  chmod 0775  "/usr/lib/lout/data/"
+  chgrp users "/usr/lib/lout/data/"
 }
 
 post_upgrade()




More information about the arch-commits mailing list