|
|
|
@ -2,27 +2,27 @@ pkgname=alfis
|
|
|
|
|
pkgver=0.3.12
|
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc="Alternative Free Identity System"
|
|
|
|
|
arch=('x86_64')
|
|
|
|
|
arch=('x86_64' 'aarch64')
|
|
|
|
|
license=('AGPL3')
|
|
|
|
|
url='https://github.com/Revertron/Alfis'
|
|
|
|
|
depends=('webkit2gtk')
|
|
|
|
|
depends=('webkit2gtk' 'gtk3' 'atk' 'pango')
|
|
|
|
|
makedepends=('cargo' 'rust')
|
|
|
|
|
backup=("etc/$pkgname.conf")
|
|
|
|
|
source=("https://github.com/Revertron/Alfis/releases/download/v$pkgver/alfis-linux-amd64-v$pkgver.zip"
|
|
|
|
|
'https://raw.githubusercontent.com/Revertron/Alfis/master/contrib/systemd/alfis.service'
|
|
|
|
|
'https://raw.githubusercontent.com/Revertron/Alfis/master/contrib/systemd/alfis.sysusers'
|
|
|
|
|
'https://raw.githubusercontent.com/Revertron/Alfis/master/contrib/systemd/alfis.tmpfiles'
|
|
|
|
|
)
|
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
|
'SKIP'
|
|
|
|
|
'SKIP'
|
|
|
|
|
'SKIP'
|
|
|
|
|
)
|
|
|
|
|
source=('git+https://github.com/Revertron/Alfis.git')
|
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "$srcdir/Alfis"
|
|
|
|
|
|
|
|
|
|
cargo build --release --all-features --target-dir=target
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
cd "$srcdir"
|
|
|
|
|
install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
|
cd "$srcdir/Alfis"
|
|
|
|
|
|
|
|
|
|
install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
|
|
|
|
|
|
install -Dm 644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
|
|
|
|
|
install -Dm 644 "$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
|
|
|
|
install -Dm 644 "$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
|
|
|
|
install -Dm 644 "contrib/systemd/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
|
|
|
|
|
install -Dm 644 "contrib/systemd/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
|
|
|
|
install -Dm 644 "contrib/systemd/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
|
|
|
|
}
|
|
|
|
|