summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rwxr-xr-xauto/port-alpine.sh7
-rwxr-xr-xauto/pypi.sh2
2 files changed, 5 insertions, 4 deletions
diff --git a/auto/port-alpine.sh b/auto/port-alpine.sh
index 9a6a623..9db5521 100755
--- a/auto/port-alpine.sh
+++ b/auto/port-alpine.sh
@@ -17,6 +17,7 @@ additional=$(ls $pkgbuild | grep -v ^APKBUILD$)
name=$pkgname
+name=$(echo $pkgname | sed 's/py3-/python-/' )
version=$pkgver
@@ -29,15 +30,15 @@ for dep in $makedepends; do
makedeps="$makedeps $(echo $dep | sed -E 's/(-dev|-lib|-doc)$//g')"
done
-builddir="repo/$package"
-buildfile="$builddir/$package.xibuild"
+builddir="repo/$name"
+buildfile="$builddir/$name.xibuild"
mkdir -p $builddir
touch $buildfile
cat > $buildfile << EOF
#!/bin/sh
-NAME="$pkgname"
+NAME="$name"
DESC="$pkgdesc"
MAKEDEPS="$makedeps"
diff --git a/auto/pypi.sh b/auto/pypi.sh
index c3edeaf..d78ba13 100755
--- a/auto/pypi.sh
+++ b/auto/pypi.sh
@@ -31,7 +31,7 @@ echo DESC: $desc
echo SOURCE: $url
echo DEPS: $package_deps
-file=repo/python/python-$name.xibuild
+file=repo/python-$name.xibuild
inp=templates/pypi.xibuild
if [ -f $file ]; then