Add basic PKGBUILD for Arch Linux

pull/14/head
nxshock 3 years ago
parent 9c7dc4ebf2
commit 5749e93aa3

@ -0,0 +1,17 @@
pkgname=alfis
pkgver=0.3.12
pkgrel=1
pkgdesc="Alternative Free Identity System"
arch=('x86_64')
license=('AGPL3')
url='https://github.com/Revertron/Alfis'
depends=('webkit2gtk')
backup=("etc/$pkgname.toml")
source=("https://github.com/Revertron/Alfis/releases/download/v${pkgver}/alfis-linux-amd64-v${pkgver}.zip")
sha256sums=('SKIP')
package() {
cd "$srcdir"
install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm 644 "$pkgname.toml" "$pkgdir/etc/$pkgname.toml"
}

@ -38,3 +38,16 @@ cargo build
### On Linux
If you are building on Linux you must ensure that you have `libwebkitgtk` library installed.
You can do it by issuing this command: `sudo apt install libwebkit2gtk-4.0-dev` (on Debian/Ubuntu and derivatives).
#### On Arch Linux
Create and install package with this commands:
```sh
# make package
curl -L -O https://raw.githubusercontent.com/Revertron/Alfis/master/PKGBUILD
makepkg
# install package (from root)
pacman -U alfis-0.3.12-1-x86_64.pkg.tar.xz
```

Loading…
Cancel
Save