diff options
-rw-r--r-- | apks/cerrado/APKBUILD | 8 | ||||
-rw-r--r-- | apks/invidious/APKBUILD | 26 |
2 files changed, 17 insertions, 17 deletions
diff --git a/apks/cerrado/APKBUILD b/apks/cerrado/APKBUILD index f615286..8f6d31c 100644 --- a/apks/cerrado/APKBUILD +++ b/apks/cerrado/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me> pkgname=cerrado -pkgver=v0.0.14 +pkgver=v0.0.16 pkgrel=0 pkgdesc="Self host single user forge" url="https://beta.gabrielgio.me/cerrado/" @@ -26,7 +26,7 @@ source=" builddir="$srcdir/$pkgname-$pkgver" build() { - make SLUG=$pkgver + make GIT_COMMIT=$pkgver } prepare() { @@ -42,7 +42,7 @@ check() { } package() { - install -Dm755 bin/cerrado "$pkgdir"/usr/bin/cerrado + install -Dm755 cerrado "$pkgdir"/usr/bin/cerrado install -Dm644 "$srcdir"/"$pkgname".scfg "$pkgdir"/etc/"$pkgname".scfg install -Dm755 "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/cerrado @@ -61,7 +61,7 @@ _caddy() { } sha512sums=" -386c278258d224e61d7b8ede801e45f8f0fd13de90a89d0e61ffe7dc3e73a819ac6bd32121b159dfb84b1ef4b43a222448202f3b58921edcc2818526951e7788 cerrado-v0.0.14.tar.gz +a1b7c48cb2d971440292c45cf73f6fef0e3042bcf1337da3231554b20c3d762aaffde80d9746160dff154cea89c287ccae35f4ecd4b450c4030a25631d600de3 cerrado-v0.0.16.tar.gz 49f984748e4b6c169de91f746562671c56519c4ce691fee600cbbe5bad2f9eba8873dedc7a454039537dcc9efc2666344d76676a4417bed6efefdb9e8774c035 cerrado.scfg 68a44e420c72d0eace0ccd50e7d883c9e155f0ede4a399bf7e257a92a17a983b2bfaded7aa390bb3043301d32092cbb3609070578da762422bf78fae2e9c1adf cerrado.confd d4ab74e8e9382e4fdf9ce54afc439ba733044dacdf3ac681afe09f01e148ff958eabe6a42efe4362abf5d540514e6e2b5aae135ccf19e8f0889c29ebd5725a71 cerrado.initd diff --git a/apks/invidious/APKBUILD b/apks/invidious/APKBUILD index 4728a97..673c1c5 100644 --- a/apks/invidious/APKBUILD +++ b/apks/invidious/APKBUILD @@ -1,7 +1,6 @@ -# Maintainer: Francesco Camuffo <dev@fmac.xyz> pkgname=invidious -pkgver=0_git20240429 -_commit=eda7444ca46dbc3941205316baba8030fe0b2989 +pkgver=v2.20240825.2 +_commit=4782a6703819e0babfa4792892b691dd096eeac3 pkgrel=0 pkgdesc="Alternative front-end to YouTube" url="https://github.com/iv-org/invidious" @@ -25,19 +24,21 @@ install="$pkgname.pre-install" pkgusers="$pkgname" pkggroups="$pkgname" subpackages="$pkgname-openrc" -_mocks_commit=cb16e0343c8f94182615610bfe3c503db89717a7 source=" - $pkgname-$_commit.tar.gz::https://github.com/iv-org/invidious/archive/$_commit.tar.gz + $pkgname-$pkgver.tar.gz::https://github.com/iv-org/invidious/archive/refs/tags/$pkgver.tar.gz $pkgname.initd " -builddir="$srcdir/invidious-$_commit" +builddir="$srcdir/$pkgname-${pkgver:1}" prepare() { - sed -i src/invidious.cr \ - -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \ - -e "s/\(CURRENT_COMMIT \) = .*/\1 = \"${_commit:0:7}\"/" \ - -e "s/\(CURRENT_VERSION\) = .*/\1 = \"$pkgver\"/" \ - -e "s/\(ASSET_COMMIT\) = .*/\1 = \"${_commit:0:7}\"/" + default_prepare + + sed \ + -e 's/^CURRENT_BRANCH =.*/CURRENT_BRANCH = "release"/' \ + -e 's/^CURRENT_COMMIT =.*/CURRENT_COMMIT = "'$pkgver'"/' \ + -e 's/^CURRENT_VERSION =.*/CURRENT_VERSION = "'$pkgver'"/' \ + -e 's/^ASSET_COMMIT =.*/ASSET_COMMIT = "'$pkgver'"/' \ + -i src/invidious.cr datadir=/usr/share/webapps/invidious # fix paths @@ -48,7 +49,6 @@ prepare() { sed -i src/invidious/database/base.cr \ -e "s|config/sql|/etc/$pkgname/\0|g" - default_prepare } build() { @@ -69,6 +69,6 @@ package() { "$pkgdir"/etc/"$pkgname"/config.yml } sha512sums=" -1d28d44fb4f201f579123f93aa446b0b0878909a4ca4bb522c14ac14e05572eebb32ec3e57bedb2e27657d4e75a57c376e30d21eba511814785200f72bc7f706 invidious-eda7444ca46dbc3941205316baba8030fe0b2989.tar.gz +1f22e6a8042b440d303508c8fcf394241560ccbaf44078e350dc227ac0d845b9bb0d1d829eb3c8737426c779e7a58d553da03d7e094458dab78a28c9065ceb8a invidious-v2.20240825.2.tar.gz ed0a2e498751927c1ad82619395a07c169f7353a9c1453381ad288ad501b915010df5b799e4f102e034f0483b9101b9a8ae40d150b3d7db80605f87b9ca6f596 invidious.initd " |