Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
4e6ef04
Merge pull request #1 from puxplaying/next
puxplaying Mar 6, 2021
cc99bff
Merge pull request #2 from puxplaying/next
puxplaying Mar 7, 2021
f560a11
change first github repo's file name
puxplaying Mar 7, 2021
3dc4d8c
update to 1.4.1 - fix fzf for GITHUBSOURCE
puxplaying Mar 21, 2021
f99cf43
Update README.md
puxplaying Mar 21, 2021
fd28248
Add Git-Version Update support - Add Manjaro-Chrootbuild support
puxplaying Aug 23, 2021
eb55e72
Add Manjaro-Chrootbuild support
puxplaying Aug 23, 2021
b18c704
[pkg-upd] 1.5
puxplaying Aug 23, 2021
357c679
1.5.1 - add optdepends "manjaro-chrootbuild"
puxplaying Aug 23, 2021
cf2a972
Update README.md
puxplaying Aug 23, 2021
82980b9
Add .SRCINFO check
puxplaying Aug 23, 2021
7febcee
[pkg-upd] 1.5.2-1
puxplaying Aug 23, 2021
476155b
rework gitpkg-check
puxplaying Aug 24, 2021
9d1f958
[pkg-upd] 1.5.3-1
puxplaying Aug 24, 2021
932fee7
fix "-git" pkg update
puxplaying Sep 1, 2021
3c91bb0
[pkg-upd] 1.5.4-1
puxplaying Sep 1, 2021
8da4d3c
create "-git" package version log after build & update
puxplaying Sep 3, 2021
3abf218
[pkg-upd] 1.5.5-1
puxplaying Sep 3, 2021
dbb6f8a
clean log files
puxplaying Sep 3, 2021
d0cbebb
[pkg-upd] 1.5.6-1
puxplaying Sep 3, 2021
af56ee4
fix "-git" pkg update
puxplaying Sep 9, 2021
dffb72b
[pkg-upd] 1.5.7-1
puxplaying Sep 9, 2021
600b9eb
Update README.md
puxplaying Oct 3, 2021
77df187
Speed improvement and new online check
puxplaying Feb 12, 2022
cf11e13
remove legacy server check
puxplaying Feb 12, 2022
879f113
[pkg-upd] 1.6.0-1
puxplaying Feb 13, 2022
f25a0cb
code restructuring, new update check, fixes
puxplaying May 20, 2022
5b97e47
Update README.md
puxplaying May 20, 2022
396b88d
small fixes
puxplaying May 20, 2022
bef0bd1
fix comment typo
puxplaying May 20, 2022
ddfc0ff
Update README.md
puxplaying May 20, 2022
f783efe
Update README.md
puxplaying May 20, 2022
924c69e
[pkg-upd] 1.7.0
puxplaying May 20, 2022
c41e39f
fix "-git" pkg updates
puxplaying May 21, 2022
c90c344
[pkg-upd] 1.7.1-1
puxplaying May 21, 2022
2d3c2f9
fix "-git" pkg rebuilding & or build failures
puxplaying May 24, 2022
e486545
allow 3 different ways to check/update packages
puxplaying May 24, 2022
6bf74b7
allow 3 different ways to check/update packages
puxplaying May 24, 2022
3f0de93
Update README.md
puxplaying May 24, 2022
45d747e
[pkg-upd] 1.7.2-1 - merge new autogit.conf
puxplaying May 24, 2022
76bbbf4
speed up "UPDCHECK" 3
puxplaying May 24, 2022
e32c6f2
Improve update checks
puxplaying May 26, 2022
1e2191a
update reworked update checks
puxplaying May 26, 2022
88060f2
Update README.md
puxplaying May 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Maintainer: Georg Wagner (@puxplaying) <[email protected]>

pkgname=autogit
pkgver=1.4
pkgver=1.7.2
pkgrel=1
pkgdesc="Auto build, update, install PKGBUILDS from Github, Gitlab and AUR"
arch=(any)
arch=('any')
url="https://github.com/puxplaying/autogit"
license=('GPL3')
depends=('pacman' 'sudo' 'bash' 'curl' 'fzf')
makedepends=('git')
optdepends=('manjaro-tools-pkg: Needed for Manjaro clean chroot package building')
source=("$url/archive/$pkgver.tar.gz")
md5sums=('SKIP')
optdepends=('manjaro-tools-pkg: Needed for Manjaro clean chroot package building'
'manjaro-chrootbuild: Needed for Manjaro clean chroot package building')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('4098df067ece09498bae76ddd13c93dc71416bd128c0daa9693bb67d4a7105c5')

package () {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "$srcdir/$pkgname-$pkgver/autogit" "$pkgdir/usr/bin/autogit"
mkdir -p $pkgdir/usr/share/autogit/reponames
cp -r reponames/ $pkgdir/usr/share/autogit/
cp -r autogit.conf $pkgdir/usr/share/autogit/
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" -t "$pkgdir/usr/bin/"
install -Dm644 "$pkgname.conf" -t "$pkgdir/usr/share/$pkgname/"
cp -r reponames "$pkgdir/usr/share/$pkgname/"
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# autogit

Autogit is a Bash tool to automatically build, update or install Pacman applications from PKGBUILD's available on Github, Gitlab and AUR via configurable Makepkg or Manjaro Buildpkg commands. It can also create automatically repo names like *core*, *extra*, *community* and create/update a repo database file via `repo-add`. Additionally it clears each local repo with `paccache -v -r -k 1 -c` to only keep the latest package version.
Autogit is a Bash tool to automatically build, update or install Pacman applications from PKGBUILD's available on Github, Gitlab and AUR via configurable `makepkg`, Manjaro `buildpkg` or `chrootbuild` commands. It can also create automatically repo names like *core*, *extra*, *community* and create/update a repo database file via `repo-add`. Additionally it clears each local repo with `paccache -v -r -k 1 -c` to only keep the latest package version.

It checks for the `pkgver` and `pkgrel` of the PKGBUILD to update applications and can either run once or in a loop with a timer setting.
2 different options are available to compare and update applications. In case of a "-git" package it checks for the latest commit to update and can either run once or in a loop with a timer setting.

More information on how to set it up is available in autogit.conf, examples are included.

Expand All @@ -20,6 +20,7 @@ How to install:
How to run:

- `autogit`
- `autogit -h`

To run it automatically without a password prompt for `buildpkg`, it can be added to `sudoers` via:

Expand Down
Loading