upgpkg: 0.12.1-1

* New upstream release.
* Update build process for web assets.
This commit is contained in:
George Rawlinson 2023-10-26 20:23:41 +13:00
parent 9133e64996
commit 1cb8d48f3c
No known key found for this signature in database
GPG Key ID: E0959FEA8B550539
2 changed files with 56 additions and 4 deletions

51
.SRCINFO Normal file
View File

@ -0,0 +1,51 @@
pkgbase = gotosocial
pkgdesc = ActivityPub social network server written in Golang
pkgver = 0.12.1
pkgrel = 1
url = https://gotosocial.org
arch = x86_64
license = AGPL3
makedepends = git
makedepends = go
makedepends = yarn
makedepends = nodejs
makedepends = go-swagger
depends = glibc
options = !lto
backup = etc/gotosocial/config.yaml
backup = etc/gotosocial/template/404.tmpl
backup = etc/gotosocial/template/about.tmpl
backup = etc/gotosocial/template/authorize.tmpl
backup = etc/gotosocial/template/confirmed.tmpl
backup = etc/gotosocial/template/domain-blocklist.tmpl
backup = etc/gotosocial/template/email_confirm.tmpl
backup = etc/gotosocial/template/email_new_report.tmpl
backup = etc/gotosocial/template/email_report_closed.tmpl
backup = etc/gotosocial/template/email_reset.tmpl
backup = etc/gotosocial/template/email_test.tmpl
backup = etc/gotosocial/template/error.tmpl
backup = etc/gotosocial/template/finalize.tmpl
backup = etc/gotosocial/template/footer.tmpl
backup = etc/gotosocial/template/frontend.tmpl
backup = etc/gotosocial/template/header.tmpl
backup = etc/gotosocial/template/index.tmpl
backup = etc/gotosocial/template/oob.tmpl
backup = etc/gotosocial/template/profile.tmpl
backup = etc/gotosocial/template/sign-in.tmpl
backup = etc/gotosocial/template/status.tmpl
backup = etc/gotosocial/template/tag.tmpl
backup = etc/gotosocial/template/thread.tmpl
source = gotosocial::git+https://github.com/superseriousbusiness/gotosocial#commit=5fdc005061c773fda6e0da32abcc6f79ddee80ed
source = sysusers.conf
source = tmpfiles.conf
source = use-fhs-directories.patch
sha512sums = SKIP
sha512sums = 68890539a1285a819d5a2cd755aeabd59a9872926d9c32e5d54faaf2771414f006e568f2f813f3c6fcd9dbeda7b6e57c924d7490521880cb65632e02fabcbd63
sha512sums = b89fad3073e140f17167515b38942e5b5e2bc2aee03c484e1bb7cf6444f86cb1e2a13a60b101e04d22633d348be073ca26cd309da4746e5062c12b4f3ce4b38a
sha512sums = 913a5209487aba06bf1d8ac7c02506a05d01a8e12f172666c84bf6870d6237640d4745617b0f07ea8c9dcf665f4e0d24a0aabef31611909f7e9384ed6e7b7e77
b2sums = SKIP
b2sums = 0a5be7ac18af882c0c89d8e930eb76c2e60bc2c1d5a375ab04e987c7de9a7a3175319c4e5fbc818261141daf5f70d583aebcc2dc197fe3a88047fbfe488ccb94
b2sums = 4f65af952441c0f54bb32049a149675e207f8993678423d369c4095c57476464614ac720eccc64d7a93a81268ad7ca41cae75ca7211bd7b78f9035f6e5341f04
b2sums = 9edd4520fb99856feb82d01935588add7f805aa180f2ed0fe169cb26576bc2e1d2c1e6ab11604d977cec6a4ad8f1d5be1413e1a366de59b89c5b869136538f8c
pkgname = gotosocial

View File

@ -3,7 +3,7 @@
# Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=gotosocial pkgname=gotosocial
pkgver=0.11.1 pkgver=0.12.1
pkgrel=1 pkgrel=1
pkgdesc='ActivityPub social network server written in Golang' pkgdesc='ActivityPub social network server written in Golang'
arch=('x86_64') arch=('x86_64')
@ -37,7 +37,7 @@ backup=(
'etc/gotosocial/template/tag.tmpl' 'etc/gotosocial/template/tag.tmpl'
'etc/gotosocial/template/thread.tmpl' 'etc/gotosocial/template/thread.tmpl'
) )
_commit='c7a46e05dbca86b30123cb1c45c1457bbc7a9c4b' _commit='5fdc005061c773fda6e0da32abcc6f79ddee80ed'
source=( source=(
"$pkgname::git+https://github.com/superseriousbusiness/gotosocial#commit=$_commit" "$pkgname::git+https://github.com/superseriousbusiness/gotosocial#commit=$_commit"
'sysusers.conf' 'sysusers.conf'
@ -98,8 +98,9 @@ build() {
./cmd/... ./cmd/...
# generate web assets # generate web assets
yarn install --cwd web/source yarn --cwd ./web/source install --frozen-lockfile
BUDO_BUILD=1 node web/source yarn --cwd ./web/source ts-patch install
yarn --cwd ./web/source build
} }
package() { package() {