diff options
author | bobpaul | 2024-04-24 16:21:57 -0500 |
---|---|---|
committer | bobpaul | 2024-04-24 16:22:51 -0500 |
commit | 763b13d44013ed4d2b37709f08075ee696245308 (patch) | |
tree | 0733fec57d4ccfd62d5cb34268347746226306f1 | |
parent | e2800bc6e60cddd33db93506bdb6b71fd37f7be3 (diff) | |
download | aur-763b13d44013ed4d2b37709f08075ee696245308.tar.gz |
Fixed build issues:
- Removed no-longer needed patch for fixed issue
- Changed build output path, as upstream fixed in `r1837733`
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,8 @@ pkgbase = synapse-admin-git pkgdesc = A Matrix administration panel using react-admin - pkgver = r14.475aa11 + pkgver = r360.b112689 pkgrel = 1 + url = https://github.com/Awesome-Technologies/synapse-admin arch = any license = Apache2.0 makedepends = git @@ -12,4 +13,3 @@ pkgbase = synapse-admin-git sha256sums = SKIP pkgname = synapse-admin-git - @@ -2,7 +2,7 @@ _pkgbase=synapse-admin pkgname=${_pkgbase}-git -pkgver=r71.26b8cea +pkgver=r360.b112689 pkgrel=1 pkgdesc="A Matrix administration panel using react-admin" arch=(any) @@ -27,10 +27,7 @@ prepare() { build() { cd "$srcdir/${_pkgbase}" - yarn build - #Fix https://github.com/Awesome-Technologies/synapse-admin/issues/11 - sed -i 's-src="/-src="-g' build/index.html - sed -i 's-href="/-href="-g' build/index.html + yarn build --base=./ } package() { @@ -38,6 +35,6 @@ package() { install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgbase}/LICENSE" mkdir -p "${pkgdir}/usr/share/webapps/${_pkgbase}" - cp -r build/* "${pkgdir}/usr/share/webapps/${_pkgbase}/" + cp -r dist/* "${pkgdir}/usr/share/webapps/${_pkgbase}/" } |