aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2015-05-08 16:53:57 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-05-08 23:33:45 +0200
commit99bb74b46d04e40af562ab0df0541f1d6d9590e4 (patch)
tree7c794c964ad6bd5cdf15ad09b6897d844909ab97 /testing
parent8aa338ec56ef1837f3cc7e6d1c2b85ad0d3f3875 (diff)
downloadaports-99bb74b46d04e40af562ab0df0541f1d6d9590e4.tar.bz2
aports-99bb74b46d04e40af562ab0df0541f1d6d9590e4.tar.xz
testing/setip-box: fixing depends and sed substitutions
Diffstat (limited to 'testing')
-rw-r--r--testing/setup-box/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/setup-box/APKBUILD b/testing/setup-box/APKBUILD
index 2150e5565c..f1812a9d34 100644
--- a/testing/setup-box/APKBUILD
+++ b/testing/setup-box/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=setup-box
pkgver=0.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="A tool to setup a variety of Alpine Linux Environments"
url="http://git.alpinelinux.org/cgit/alacerda/setup-box/"
arch="noarch"
license="MIT"
-depends=""
+depends="jq"
depends_dev=""
makedepends="$depends_dev"
install=""
@@ -35,10 +35,10 @@ package() {
mkdir "$pkgdir"/sbin
install -m 755 setup-box "$pkgdir"/sbin/$pkgname
cp json/* "$pkgdir"/etc/setup-box/json
- sed -e 's:@CONFIG_DIR@:$(CONFIG_DIR):g' -i "$pkgdir"/sbin/$pkgname
- sed -e 's:@JSON_DIR@:$(JSON_DIR):g' -i "$pkgdir"/sbin/$pkgname
- sed -e 's:@DEPS@:$(DEPS):g' -i "$pkgdir"/sbin/$pkgname
- sed -e 's:@VERSION@:$(VERSION):g' -i "$pkgdir"/sbin/$pkgname
+ sed -e 's:@CONFIG_DIR@:/etc/setup-box:g' -i "$pkgdir"/sbin/$pkgname
+ sed -e 's:@JSON_DIR@:/etc/setup-box/json:g' -i "$pkgdir"/sbin/$pkgname
+ sed -e 's:@DEPS@:jq:g' -i "$pkgdir"/sbin/$pkgname
+ sed -e 's:@VERSION@:v0.1.0:g' -i "$pkgdir"/sbin/$pkgname
}
md5sums="d79b4c30ab60185c8edee7357059812c setup-box-0.1.0.tar.bz2"