blob: fa814a7ebeab403154564aa4d2e0bae08a6f66c5 (
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
|
# Maintainer: Andreas Louv <andreas@louv.dk>
pkgname=zs-git
pkgver=2.0
pkgrel=1
pkgdesc="Copy objects from one AS/400 to another"
arch=("any")
url="https://github.com/andlrc/zs"
license=("GPL")
depends=("glibc")
makedepends=("git" "make")
provides=("zs" "zs")
source=('zs::git+git://github.com/andlrc/zs#branch=master')
md5sums=("SKIP")
pkgver()
{
cd "$srcdir/${pkgname%-git}"
sed 's/^#define.*PROGRAM_VERSION.*"\(.*\)".*/\1/p;d' main.c
}
package()
{
cd "$srcdir/${pkgname%-git}"
make
install -D zs $pkgdir/usr/bin/zs
install -Dm644 zs.1 $pkgdir/usr/share/man/man1/zs.1
install -Dm644 zs-copy.1 $pkgdir/usr/share/man/man1/zs-copy.1
install -Dm644 zs-analyze.1 $pkgdir/usr/share/man/man1/zs-analyze.1
install -Dm644 zs-config.5 $pkgdir/usr/share/man/man5/zs-config.5
install -Dm600 default.conf $pkgdir/etc/zs/default.conf
}
|