blob: 0af38f85e75717b7b389e8a5db7b149ac922af79 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=mr
pkgver=1.15
pkgrel=0
pkgdesc="A multiple repository management tool"
url="http://kitenet.net/~joey/code/mr/"
arch="noarch"
license="GPL2+"
depends="perl"
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/m/mr/"$pkgname"_"$pkgver".tar.gz"
_builddir="$srcdir"/$pkgname
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
cd "$_builddir"/lib
for file in git-fake-bare git-svn unison; do
install -Dpm 0644 $file \
"$pkgdir"/usr/share/$pkgname/$file || return 1
done
}
doc() {
cd "$_builddir"
mkdir -p "$subpkgdir"/usr/share/man || return 1
mv "$_builddir"/*.1 "$subpkgdir"/usr/share/man/ || return 1
# Sample configuration files
for file in mrconfig mrconfig.complex; do
install -Dpm 0644 $file \
"$subpkgdir"/usr/share/doc/$pkgname/$file || return 1
done
}
md5sums="719ec056d7b9e2e5c9501d4f1ba19122 mr_1.15.tar.gz"
sha256sums="cfc0a987dcc5423861355b9ce7f493ab4c0d69364802e8ad27682e2726f9b9dd mr_1.15.tar.gz"
sha512sums="1b94c11b3c4aa0666fdaad0ae7ce1d6ffce3cbf2077a6511ad12b3d8d987c99193caf1c68f1a08746ac48d624f4945dede8132322b195c22500bf4af7c095eb4 mr_1.15.tar.gz"
|