unmaintained/firefly-iii-plaid-connector: move from user

This commit is contained in:
Antoine Martin 2024-06-03 10:35:53 -04:00
parent 104708e9a6
commit fddd91b20c
3 changed files with 20 additions and 52 deletions

View file

@ -1,32 +1,29 @@
# Maintainer: Antoine Martin <dev@ayakael.net> # Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=firefly-iii-plaid-connector pkgname=firefly-iii-plaid-connector
pkgver=0.3.1 pkgver=0.3.1
pkgrel=5 pkgrel=7
pkgdesc='The Free Software Media System' pkgdesc="The Free Software Media System"
arch='i686 x86_64' #arch="x86_64"
url='https://gitlab.com/GeorgeHahn/firefly-plaid-connector' url="https://gitlab.com/GeorgeHahn/firefly-plaid-connector"
license='MIT' license="MIT"
options="!strip !check" options="!check"
#depends='firefly-iii dotnet31-runtime' depends="firefly-iii dotnet6-runtime"
makedepends='dotnet31-sdk' makedepends="dotnet6-sdk"
source="firefly-plaid-connector-$pkgver.tar.gz::https://gitlab.com/GeorgeHahn/firefly-plaid-connector/-/archive/v${pkgver}/firefly-plaid-connector-v${pkgver}.tar.gz" source="firefly-plaid-connector-$pkgver.tar.gz::https://gitlab.com/GeorgeHahn/firefly-plaid-connector/-/archive/v$pkgver/firefly-plaid-connector-v$pkgver.tar.gz net6-support.patch"
builddir="${srcdir}/firefly-plaid-connector-v${pkgver}" builddir="$srcdir/firefly-plaid-connector-v$pkgver"
build() { build() {
cd "${builddir}" dotnet publish --configuration Release --output ./publish --use-current-runtime --no-self-contained
# Disable dotnet telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# publish app and libraries
dotnet publish --configuration Release --output "$PWD"/publish
} }
package() { package() {
mkdir -p "${pkgdir}"/var/lib mkdir -p "$pkgdir"/usr/lib
cp -r "${builddir}"/publish "$pkgdir"/var/lib/firefly-plaid-connector cp -r "$builddir"/publish "$pkgdir"/usr/lib/firefly-plaid-connector
} }
sha512sums="57a64673bf2e8cae00cb215e1dc90eb02bddf50010835a9318f55f83313c00f19d6c8d8af65e2739b0fb6fd4522a2327941bdc7d11cbe59c9537ff6c1575765e firefly-plaid-connector-0.3.1.tar.gz"
sha512sums="
57a64673bf2e8cae00cb215e1dc90eb02bddf50010835a9318f55f83313c00f19d6c8d8af65e2739b0fb6fd4522a2327941bdc7d11cbe59c9537ff6c1575765e firefly-plaid-connector-0.3.1.tar.gz
f795fe58659763082e3f2bba0e6e2a70c4732bc6b402a4e586104bf09525ffca1d3586acda43ccba3b71d15e1a0a62794574f72a2fc6cd3d1905dcb2e8782dc2 net6-support.patch
"

View file

@ -1,29 +0,0 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=firefly-iii-plaid-connector
pkgver=0.3.1
pkgrel=7
pkgdesc="The Free Software Media System"
#arch="x86_64"
url="https://gitlab.com/GeorgeHahn/firefly-plaid-connector"
license="MIT"
options="!check"
depends="firefly-iii dotnet6-runtime"
makedepends="dotnet6-sdk"
source="firefly-plaid-connector-$pkgver.tar.gz::https://gitlab.com/GeorgeHahn/firefly-plaid-connector/-/archive/v$pkgver/firefly-plaid-connector-v$pkgver.tar.gz net6-support.patch"
builddir="$srcdir/firefly-plaid-connector-v$pkgver"
build() {
dotnet publish --configuration Release --output ./publish --use-current-runtime --no-self-contained
}
package() {
mkdir -p "$pkgdir"/usr/lib
cp -r "$builddir"/publish "$pkgdir"/usr/lib/firefly-plaid-connector
}
sha512sums="
57a64673bf2e8cae00cb215e1dc90eb02bddf50010835a9318f55f83313c00f19d6c8d8af65e2739b0fb6fd4522a2327941bdc7d11cbe59c9537ff6c1575765e firefly-plaid-connector-0.3.1.tar.gz
f795fe58659763082e3f2bba0e6e2a70c4732bc6b402a4e586104bf09525ffca1d3586acda43ccba3b71d15e1a0a62794574f72a2fc6cd3d1905dcb2e8782dc2 net6-support.patch
"