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
439ef8bc
Commit
439ef8bc
authored
4 weeks ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packaging/AUR: automate update.sh
parent
b07b295a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
update.sh
packaging/AUR/update.sh
+16
-4
No files found.
packaging/AUR/update.sh
View file @
439ef8bc
#!/bin/sh
SPECNAME
=
$(
pwd
)
/../../eepm.spec
fatal
()
{
echo
"
$*
"
>
&2
exit
1
}
SPECNAME
=
$(
realpath
$(
dirname
$0
)
/../../eepm.spec
)
ls
"
$SPECNAME
"
||
fatal
cd
~/Projects/git/eepm.aur/
||
exit
cd
~/Projects/git/eepm.aur/
||
fatal
if
[
-f
/usr/share/eterbuild/eterbuild
]
;
then
...
...
@@ -11,6 +19,7 @@ if [ -f /usr/share/eterbuild/eterbuild ] ; then
load_mod spec etersoft
VERSION
=
"
$(
get_version
$SPECNAME
)
"
[
-n
"
$VERSION
"
]
||
fatal
echo
"
$
subst
\"
s|^pkgver=.*|pkgver=
$VERSION
|
\"
PKGBUILD"
...
...
@@ -20,13 +29,16 @@ fi
if
[
$(
epm print info
-g
)
!=
"pacman"
]
;
then
echo
"Rerun the script on Arch based system"
exit
1
ssh manjaro bash
-x
~/Projects/git/eepm/packaging/AUR/update.sh
exit
0
fi
updpkgsums
makepkg
--printsrcinfo
>
.SRCINFO
git add PKGBUILD .SRCINFO
git commit
.
PKGBUILD
git commit
-m
"new version
$pkgver
"
makepkg
-C
-f
--noconfirm
...
...
This diff is collapsed.
Click to expand it.
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