diff options
author | Joel Grunbaum | 2023-07-23 09:00:44 +0000 |
---|---|---|
committer | Joel Grunbaum | 2023-07-23 09:00:44 +0000 |
commit | ea170f4ff20f9fcd61b1ff8636134d3eafddcae2 (patch) | |
tree | 4c3d83508f7b2433f67bb91f31330cf0c339b8be | |
parent | d2042f7def7145e4c61e7a2f588a89f6fb71aabb (diff) | |
download | aur-ea170f4ff20f9fcd61b1ff8636134d3eafddcae2.tar.gz |
Updated to 4.8.0, added updater script
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | update.sh | 21 |
3 files changed, 26 insertions, 5 deletions
@@ -1,13 +1,13 @@ pkgbase = plexamp-appimage pkgdesc = Modern music client for Plex - pkgver = 4.7.4 + pkgver = 4.8.0 pkgrel = 1 url = https://plexamp.com arch = x86_64 provides = plexamp conflicts = plexamp options = !strip - source = https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-4.7.4.AppImage - sha512sums = 4d9ec9352ad4b6caa71fe7d621c775bf87d8d233e7315ee7a95fd0b1b0fb669a8804290ddd1f5642f73f13d81a875eb701be3483d0a67608531a8deff155b647 + source = https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-4.8.0.AppImage + sha512sums = beb6d6f6376af7dc1856fde64d75ffac4c2e80cade4d12e9ae01959d401d722528393a3356f6028b8f2bcdeb4643f612af23dd6c1ca0dff28c7aa036d10e47e5 pkgname = plexamp-appimage @@ -3,7 +3,7 @@ # Contributor: Felix Golatofski <contact@xdfr.de> pkgname=plexamp-appimage -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Modern music client for Plex" provides=('plexamp') @@ -16,7 +16,7 @@ _filename=Plexamp-${pkgver}.AppImage source=( https://plexamp.plex.tv/plexamp.plex.tv/desktop/${_filename} ) -sha512sums=('4d9ec9352ad4b6caa71fe7d621c775bf87d8d233e7315ee7a95fd0b1b0fb669a8804290ddd1f5642f73f13d81a875eb701be3483d0a67608531a8deff155b647') +sha512sums=('beb6d6f6376af7dc1856fde64d75ffac4c2e80cade4d12e9ae01959d401d722528393a3356f6028b8f2bcdeb4643f612af23dd6c1ca0dff28c7aa036d10e47e5') prepare() { diff --git a/update.sh b/update.sh new file mode 100755 index 000000000000..c7ea76d48731 --- /dev/null +++ b/update.sh @@ -0,0 +1,21 @@ +cd $(dirname $0) + +NEWVER=$1 + +if [ "$NEWVER" = "" ]; then + echo "enter version name" + exit 1 +fi + +sed -i "s/^pkgver=.*/pkgver=$NEWVER/" PKGBUILD +makepkg +CHKSUM="$(sha512sum Plexamp-$NEWVER.AppImage | cut -d' ' -f1)" +sed -i "s/^sha512sums=.*/sha512sums=('$CHKSUM')/;s/^pkgrel=.*/pkgrel=1/" PKGBUILD +makepkg + +echo "Press enter to continue" +read +makepkg --printsrcinfo > .SRCINFO +git add .SRCINFO PKGBUILD +#git commit -m "Updated to $NEWVER" +#git push |