aboutsummaryrefslogtreecommitdiffstats
path: root/main/mr/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-07-07 16:07:08 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2011-07-07 16:07:08 +0000
commit14b5a004f46500fdec6dfb1b9abc1fece5b072da (patch)
treef7c2f5d8f5daf6ee4a93305213810a1fc293c42d /main/mr/APKBUILD
parentd5d0f27e7bb29d1e259eeece0da795ef507a8029 (diff)
downloadaports-14b5a004f46500fdec6dfb1b9abc1fece5b072da.tar.bz2
aports-14b5a004f46500fdec6dfb1b9abc1fece5b072da.tar.xz
Moved mr to main
Diffstat (limited to 'main/mr/APKBUILD')
-rw-r--r--main/mr/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/mr/APKBUILD b/main/mr/APKBUILD
new file mode 100644
index 0000000000..347ae58f3b
--- /dev/null
+++ b/main/mr/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=mr
+pkgver=1.04
+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="9ddd9e5b3a90bcb08ac773ddb1cea512 mr_1.04.tar.gz"