blob: a2d74e2b8bbe9da183fce9a391a8153bf8f1e453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=skribilo-git
pkgver=0.9.5.r19.g31d6cd3
pkgrel=1
epoch=1
pkgdesc="The Ultimate Document Programming Framework from git"
arch=('x86_64')
url="http://www.nongnu.org/skribilo/"
license=('GPL')
depends=('bash')
makedepends=('git' 'guile' 'guile-reader' 'ploticus')
provides=('skribilo')
conflicts=('skribilo')
source=("git://git.sv.gnu.org/skribilo.git" makevars.diff Makefile.in.in)
md5sums=('SKIP'
'fdefd9d3a084f4d48f57df699fb7cdf0'
'287083fa96f70fd28c8b19aae1c97b6d')
options=('!strip')
pkgver() {
cd "${pkgname%-git}"
git describe --tags|sed 's+-+.r+' | tr - . | cut -c2-
}
prepare() {
cd "${pkgname%-git}"/po
patch -Np0 < "$srcdir"/makevars.diff
cp "$srcdir"/Makefile.in.in .
cd ..
touch ABOUT-NLS
echo > gettextize --no-changelog -f
libtoolize -c -f
aclocal -I m4
automake --add-missing
autoreconf -if
}
build() {
cd "${pkgname%-git}"
GUILE_EFFECTIVE_VERSION=3.0 GUILE=/usr/bin/guile ./configure --prefix=/usr
make
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir/" install
rm "$pkgdir"/usr/share/info/*.png
install -d "$pkgdir"/usr/share/doc/$pkgname
find "$srcdir"/ -name "*.png" -exec install -m644 {} "$pkgdir"/usr/share/doc/$pkgname \;
}
|