aboutsummaryrefslogtreecommitdiffstats
path: root/main/myrepos/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-08-15 12:10:06 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-08-15 12:10:06 +0200
commit176adb0e71607d775848a7203016e3d5d1c67d60 (patch)
tree2305d5ad33d30eae2a958f7714b97b97778bd89e /main/myrepos/APKBUILD
parentdf848197143582669b40ef24c319774562ae3ede (diff)
downloadaports-176adb0e71607d775848a7203016e3d5d1c67d60.tar.bz2
aports-176adb0e71607d775848a7203016e3d5d1c67d60.tar.xz
main/mr: rename to myrepos
Diffstat (limited to 'main/myrepos/APKBUILD')
-rw-r--r--main/myrepos/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/myrepos/APKBUILD b/main/myrepos/APKBUILD
new file mode 100644
index 0000000000..954b3e12fa
--- /dev/null
+++ b/main/myrepos/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=myrepos
+pkgver=1.20130710
+pkgrel=0
+pkgdesc="A multiple repository management tool"
+url="http://kitenet.net/~joey/code/mr/"
+arch="noarch"
+license="GPL2+"
+depends="perl"
+depends_dev=""
+makedepends=""
+replaces="mr"
+install=""
+subpackages="$pkgname-doc"
+source="http://ftp.de.debian.org/debian/pool/main/m/$pkgname/${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="a5e16a7649a46e4cc9d298ff6810bba1 myrepos_1.20130710.tar.gz"
+sha256sums="e87993bd619a028f7ccf82a2d9da386ed205c81566729ef14b3581f2c69224f8 myrepos_1.20130710.tar.gz"
+sha512sums="6a4edab663dcc486ef706fae4a7217f3e388fa9db918f0b769657d81a335744d42d32510f49e94227c36348d654053b1a90bc8f5815cdf2deb5479d8c545fd3e myrepos_1.20130710.tar.gz"