summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /auto
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
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