Skip to content

Commit

Permalink
prepare for next fail like TheLastGimbus#171
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastGimbus committed Feb 8, 2023
1 parent 58a6264 commit f67bbdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/gen-pkgbuild.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
# Script to generate PKGBUILD files for Ałycz Linux

set -e # fail if generating sha fails or smth

txt="# Maintainer: TheLastGimbus <[email protected]>
pkgname=gpth-bin
pkgver=$(grep -oP '(?<=version: ).*' pubspec.yaml)
Expand All @@ -19,4 +22,4 @@ package() {
install -Dm755 \"gpth-linux\" \"\${pkgdir}/usr/bin/gpth\"
}"

echo "$txt" >PKGBUILD
echo "$txt" | tee PKGBUILD

0 comments on commit f67bbdc

Please sign in to comment.