diff --git a/.forgejo/workflows/build-publish.yml b/.forgejo/workflows/build-publish.yml new file mode 100644 index 0000000..db70a43 --- /dev/null +++ b/.forgejo/workflows/build-publish.yml @@ -0,0 +1,35 @@ +name: Build and publish +on: [create, pull_request] + +jobs: + pkgbuild: + runs-on: archlinux + steps: + - name: Refreshing packages + run: /paruw.sh "paru -Syy" + - name: Installing packaged keyring + run: /paruw.sh "paru -S --noconfirm archlinux-keyring" + - name: Create master keyring + run: pacman-key --init + - name: Populate master keyring + run: pacman-key --populate archlinux + - name: Hard refresh keys + run: pacman-key --refresh-keys + - name: Installing rankmirrors + run: /paruw.sh "paru -S --noconfirm pacman-contrib pacman-mirrorlist" + - name: Renew mirrors choice + run: rankmirrors -n 5 /etc/pacman.d/mirrorlist + - name: Ri-refreshing packages + run: /paruw.sh "paru -Syy" + - name: Checkout + uses: actions/checkout@v4 + - name: Fix permissions + run: /fixperms.sh + - name: Compile package + run: /paruw.sh "paru -B --noconfirm ${{ gitea.workspace }}" + - name: Upload Package Archive + uses: https://gitea.com/actions/gitea-release-action@v1 + with: + files: "*.pkg.tar.zst" + api_key: ${{ secrets.APITOKEN_RELEASE }} + md5sum: true diff --git a/.gitea/workflows/build-publish.yml b/.gitea/workflows/build-publish.yml deleted file mode 100644 index 6c12b46..0000000 --- a/.gitea/workflows/build-publish.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build and publish -on: [create, pull_request] - -jobs: - pkgbuild: - runs-on: archlinux - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Fix permissions - run: /fixperms.sh - - name: Compile package - run: /paruw.sh "paru -Bi ${{ gitea.workspace }}" - - name: Setup go for publishing - uses: actions/setup-go@v4 - with: - go-version: '>=1.20.1' - - name: Upload Package Archive - uses: https://gitea.com/actions/gitea-release-action@v1 - with: - files: "*.pkg.tar.zst" - api_key: ${{ secrets.APITOKEN_RELEASE }} - md5sum: true diff --git a/PKGBUILD b/PKGBUILD index 6bfd770..d16515f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=it-cie-tools-bin pkgname=( 'it-cie-lib-bin' 'cieid-bin' ) -pkgver=1.4.3.2 +pkgver=1.4.3.11 pkgrel=1 pkgdesc="CIE 3.0 PKCS11 Middleware for Italian Electronic Identity Card - Binaries from .deb" arch=('x86_64') @@ -13,16 +13,16 @@ options=('!strip') depends=('ccid' 'opensc' 'pcsc-tools') ARCH='amd64' -md5sums=('bdd884713c61a64aba1c97eb5f4cc14f' -'79ab9ea336a1fbc1b590d58ffb1fc909') -source=('https://github.com/italia/cie-middleware-linux/releases/download/1.4.3.1/CIE-Middleware-1.4.3-2.amd64.deb' -'cieid.desktop') +source=('https://github.com/italia/cie-middleware-linux/releases/download/1.4.3.11/CIE-Middleware-1.4.3-11.amd64.deb' + 'cieid.desktop') +sha256sums=('118c525e8593f40fbee81e25bc3c804bbb81ae58dab76e5493b75de9a1e163eb' + '4309ca1d473f4b6117fefa8cc82b1f1c3a898bb66b2068e68863d1864bdbcdeb') build() { pkgsrc=$srcdir/$pkgbase-$pkgver mkdir $pkgsrc - ar -xv CIE-Middleware-1.4.3-2.amd64.deb || return 1 + ar -xv CIE-Middleware-1.4.3-11.amd64.deb || return 1 tar -xvf data.tar.[xg]z -C $pkgsrc || return 1 } diff --git a/cieid.desktop b/cieid.desktop index f70010a..23d6e08 100644 --- a/cieid.desktop +++ b/cieid.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Name=CIE ID Version=1.0 -Exec=java -Xms1G -Xmx1G -Djna.library.path=".:/usr/lib" -classpath "/opt/CIEID/cieid.jar" it.ipzs.cieid.MainApplication -Comment=CIE ID +Exec=java -Xms1G -Xmx1G -Djna.library.path=".:/usr/lib" -classpath "/opt/CIEID/cieid.jar" it.ipzs.cieid.MainApplication +Comment=CIE ID è un programma per la gestione della Carta d'Identità Elettronica italiana Icon=/opt/CIEID/logo_circle.png Type=Application Terminal=false