diff options
author | AlphaJack | 2021-02-03 19:51:21 +0100 |
---|---|---|
committer | AlphaJack | 2021-02-03 19:51:21 +0100 |
commit | ee49d8a211327e2105b70b7c676673691b507085 (patch) | |
tree | 5c46e0fbf4e51693baa305f044439ae718dbc753 | |
parent | 88c2d95e7895d90ff1d91f928c162d91c57115b3 (diff) | |
download | aur-ee49d8a211327e2105b70b7c676673691b507085.tar.gz |
Updated package and removed license file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | shlink.install | 7 |
3 files changed, 10 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = shlink pkgdesc = The definitive self-hosted URL shortener - pkgver = 2.4.2 + pkgver = 2.5.2 pkgrel = 1 url = https://shlink.io install = shlink.install @@ -15,8 +15,8 @@ pkgbase = shlink optdepends = sqlite: database optdepends = apache: web server optdepends = nginx: web server - source = https://github.com/shlinkio/shlink/releases/download/v2.4.2/shlink_2.4.2_dist.zip - sha256sums = 8679a991d1b803e28da0c7c3e9c0d7413ac3d09f46c9d1944fb49304f00c536d + source = https://github.com/shlinkio/shlink/releases/download/v2.5.2/shlink_2.5.2_dist.zip + sha256sums = c3d1ec27e9ca795a1ee894c0a95993d069cd4199b9bc773c63de6cb3745084ac pkgname = shlink @@ -1,7 +1,7 @@ # Maintainer: AlphaJack <alphajack at tuta dot io> pkgname="shlink" -pkgver=2.4.2 +pkgver=2.5.2 pkgrel=1 pkgdesc="The definitive self-hosted URL shortener" url="https://shlink.io" @@ -16,7 +16,7 @@ optdepends=("mariadb: database" "apache: web server" "nginx: web server") source=("https://github.com/shlinkio/shlink/releases/download/v$pkgver/${pkgname}_${pkgver}_dist.zip") -sha256sums=("8679a991d1b803e28da0c7c3e9c0d7413ac3d09f46c9d1944fb49304f00c536d") +sha256sums=("c3d1ec27e9ca795a1ee894c0a95993d069cd4199b9bc773c63de6cb3745084ac") install="$pkgname.install" package(){ @@ -26,7 +26,6 @@ package(){ install -d "data" "$pkgdir/usr/share/webapps/$pkgname/data" chown -R http: "$pkgdir/usr/share/webapps/$pkgname/data" install -d -o http -g http -m 750 "config/params" "$pkgdir/usr/share/webapps/$pkgname/config/params" - install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -D -d -o http -g http -m 750 "$pkgdir/var/log/$pkgname" rm -r "$pkgdir/usr/share/webapps/$pkgname/data/log" ln -s "/var/log/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/data/log" diff --git a/shlink.install b/shlink.install index 08e9ff32d1bf..d1d26c341c0e 100644 --- a/shlink.install +++ b/shlink.install @@ -1,9 +1,12 @@ post_upgrade(){ - echo "Shlink has been updated successfully. + cat <<INFO + +Shlink has been updated successfully. Please run \`sudo -u http php /usr/share/webapps/shlink/bin/update\` to migrate the database and configure new options. You can find more information here: https://github.com/shlinkio/shlink/#update-to-new-version -" + +INFO } |