summaryrefslogtreecommitdiff
path: root/community/lout/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-07 12:36:05 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-07 12:36:05 +0100
commita56d1a610bd4032e2eae610289333ad112fc5ba1 (patch)
tree5fa9f42a339b57ef35616c01ac67c1c55c84fc7b /community/lout/PKGBUILD
parent9437cdbc03cb103235fa0b043f4cf73882f10f34 (diff)
parent8e5a0a990a12a59cadb687cae22a1960fce1660b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/augeas/PKGBUILD community/midori/PKGBUILD community/ruby-gtk2/PKGBUILD extra/strigi/PKGBUILD libre/abiword-libre/PKGBUILD libre/abiword-libre/abiword-2.8.6-glib-2.31.patch
Diffstat (limited to 'community/lout/PKGBUILD')
-rw-r--r--community/lout/PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/community/lout/PKGBUILD b/community/lout/PKGBUILD
index 3abe6c2a6..8d1ab95a9 100644
--- a/community/lout/PKGBUILD
+++ b/community/lout/PKGBUILD
@@ -1,24 +1,36 @@
-# $Id: PKGBUILD 56257 2011-10-04 00:41:28Z kkeen $
+# $Id: PKGBUILD 83917 2013-02-06 14:41:18Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: catwell <catwell@archlinux.us>
pkgname=lout
pkgver=3.39
-pkgrel=1
+pkgrel=2
pkgdesc="A lightweight document formatting system."
arch=('i686' 'x86_64' 'mips64el')
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"
}