upgpkg: mastodon 4.2.12-1
upstream release
This commit is contained in:
parent
476b07b7ab
commit
8e7369136d
3 changed files with 18 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = mastodon
|
pkgbase = mastodon
|
||||||
pkgdesc = Your self-hosted, globally interconnected microblogging community
|
pkgdesc = Your self-hosted, globally interconnected microblogging community
|
||||||
pkgver = 4.2.10
|
pkgver = 4.2.12
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/mastodon/mastodon
|
url = https://github.com/mastodon/mastodon
|
||||||
install = mastodon.install
|
install = mastodon.install
|
||||||
|
@ -17,19 +17,19 @@ pkgbase = mastodon
|
||||||
depends = nodejs
|
depends = nodejs
|
||||||
depends = postgresql
|
depends = postgresql
|
||||||
depends = protobuf
|
depends = protobuf
|
||||||
depends = redis
|
|
||||||
depends = ruby-bundler
|
depends = ruby-bundler
|
||||||
depends = sudo
|
depends = sudo
|
||||||
|
depends = valkey
|
||||||
depends = yarn
|
depends = yarn
|
||||||
depends = zlib
|
depends = zlib
|
||||||
options = !strip
|
options = !strip
|
||||||
backup = etc/mastodon.conf
|
backup = etc/mastodon.conf
|
||||||
source = https://github.com/mastodon/mastodon/archive/v4.2.10.tar.gz
|
source = https://github.com/mastodon/mastodon/archive/v4.2.12.tar.gz
|
||||||
source = mastodon.target
|
source = mastodon.target
|
||||||
source = mastodon.sysusers.d
|
source = mastodon.sysusers.d
|
||||||
source = mastodon.tmpfiles.d
|
source = mastodon.tmpfiles.d
|
||||||
sha512sums = 1fe5417136bc020a83b83eaccef7f1f46c13fc8318681f12ba556b1b6b03e25ef7b6335c28f4e6722101e97b63020cbd0d3fbacdaf9b3b5a4b73c3cf3e230813
|
sha512sums = 511ce2df1860150c7544581628937cc91a1441de58656c8064702ccffc59197406b0c5df083ffa7e836c4e4354d0183778c1caa0561e0ab4a43ebb4c4afe765f
|
||||||
sha512sums = bbce4ff9142265fc7d5f7669637c112240bc6d1b39dedf212faf8acb09fb9b4b2acc07038df5e790c60baff51bc44ffef9318f9fce043c6831ae5e5f02fea5a6
|
sha512sums = ce9fe810654f3a641bbc1ea9707fa1b149e3955bfc55da20ed27e58f9c768dd65534fa43c9d67042fff40c48ef33c660efac8ef11c60f1111173326e2a93814c
|
||||||
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
|
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
|
||||||
sha512sums = 27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f
|
sha512sums = 27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
|
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
|
||||||
|
|
||||||
pkgname=mastodon
|
pkgname=mastodon
|
||||||
pkgver=4.2.10
|
pkgver=4.2.12
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Your self-hosted, globally interconnected microblogging community'
|
pkgdesc='Your self-hosted, globally interconnected microblogging community'
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
@ -22,9 +22,9 @@ depends=(ffmpeg
|
||||||
nodejs
|
nodejs
|
||||||
postgresql
|
postgresql
|
||||||
protobuf
|
protobuf
|
||||||
redis
|
|
||||||
ruby-bundler
|
ruby-bundler
|
||||||
sudo
|
sudo
|
||||||
|
valkey
|
||||||
yarn
|
yarn
|
||||||
zlib)
|
zlib)
|
||||||
backup=(etc/mastodon.conf)
|
backup=(etc/mastodon.conf)
|
||||||
|
@ -34,19 +34,25 @@ source=(https://github.com/mastodon/mastodon/archive/v$pkgver.tar.gz
|
||||||
mastodon.target
|
mastodon.target
|
||||||
mastodon.sysusers.d
|
mastodon.sysusers.d
|
||||||
mastodon.tmpfiles.d)
|
mastodon.tmpfiles.d)
|
||||||
sha512sums=('1fe5417136bc020a83b83eaccef7f1f46c13fc8318681f12ba556b1b6b03e25ef7b6335c28f4e6722101e97b63020cbd0d3fbacdaf9b3b5a4b73c3cf3e230813'
|
sha512sums=('511ce2df1860150c7544581628937cc91a1441de58656c8064702ccffc59197406b0c5df083ffa7e836c4e4354d0183778c1caa0561e0ab4a43ebb4c4afe765f'
|
||||||
'bbce4ff9142265fc7d5f7669637c112240bc6d1b39dedf212faf8acb09fb9b4b2acc07038df5e790c60baff51bc44ffef9318f9fce043c6831ae5e5f02fea5a6'
|
'ce9fe810654f3a641bbc1ea9707fa1b149e3955bfc55da20ed27e58f9c768dd65534fa43c9d67042fff40c48ef33c660efac8ef11c60f1111173326e2a93814c'
|
||||||
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
|
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
|
||||||
'27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f')
|
'27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd mastodon-$pkgver
|
cd mastodon-$pkgver
|
||||||
sed -i '/husky install/d' package.json # Stop husky from hijacking git hooks
|
sed -i '/husky install/d' package.json # Stop husky from hijacking git hooks
|
||||||
bundle config deployment 'true'
|
bundle config set deployment true
|
||||||
bundle config without 'development test'
|
bundle config without 'development test'
|
||||||
bundle config with 'pam_authentication'
|
bundle config with 'pam_authentication'
|
||||||
|
bundle config set frozen false
|
||||||
|
bundle add erb
|
||||||
bundle install -j$(getconf _NPROCESSORS_ONLN)
|
bundle install -j$(getconf _NPROCESSORS_ONLN)
|
||||||
yarn install --pure-lockfile
|
yarn install --pure-lockfile
|
||||||
|
# https://aur.archlinux.org/packages/mastodon?O=0#comment-986425
|
||||||
|
cd vendor/bundle/ruby/*/gems/ox-*/ext/ox
|
||||||
|
make
|
||||||
|
cp ox.so ../../lib
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mastodon
|
Description=Mastodon
|
||||||
Wants=mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service
|
Wants=mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service
|
||||||
Wants=postgresql.service redis.service
|
Wants=postgresql.service valkey.service
|
||||||
Before=mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service
|
Before=mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service
|
||||||
After=postgresql.service redis.service
|
After=postgresql.service valkey.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue