mirror of https://github.com/Revertron/Alfis
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
836 B
Bash
29 lines
836 B
Bash
pkgname=alfis
|
|
pkgver=0.3.12
|
|
pkgrel=1
|
|
pkgdesc="Alternative Free Identity System"
|
|
arch=('x86_64' 'aarch64')
|
|
license=('AGPL3')
|
|
url='https://github.com/Revertron/Alfis'
|
|
depends=('webkit2gtk' 'gtk3' 'atk' 'pango')
|
|
makedepends=('cargo' 'rust')
|
|
backup=("etc/$pkgname.conf")
|
|
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/Alfis"
|
|
|
|
install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
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"
|
|
}
|