Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
d2185c3b
Commit
d2185c3b
authored
Mar 10, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packaging/AUR: add update.sh script
parent
0a0e1091
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
update.sh
packaging/AUR/update.sh
+34
-0
No files found.
packaging/AUR/update.sh
0 → 100755
View file @
d2185c3b
#!/bin/sh
SPECNAME
=
$(
pwd
)
/../../eepm.spec
cd
~/Projects/git/eepm.aur/
||
exit
if
[
-f
/usr/share/eterbuild/eterbuild
]
;
then
# load common functions, compatible with local and installed script
.
/usr/share/eterbuild/eterbuild
load_mod spec etersoft
VERSION
=
"
$(
get_version
$SPECNAME
)
"
echo
"
$
subst
\"
s|^pkgver=.*|pkgver=
$VERSION
|
\"
PKGBUILD"
subst
"s|^pkgver=.*|pkgver=
$VERSION
|"
PKGBUILD
fi
if
[
$(
epm print info
-g
)
!=
"pacman"
]
;
then
echo
"Rerun the script on Arch based system"
exit
1
fi
updpkgsums
makepkg
--printsrcinfo
>
.SRCINFO
git add PKGBUILD .SRCINFO
git commit
makepkg
-C
-f
--noconfirm
echo
"Check the result and run git push"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment