Add basic PKGBUILD for Arch Linux
This commit is contained in:
@@ -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
|
### On Linux
|
||||||
If you are building on Linux you must ensure that you have `libwebkitgtk` library installed.
|
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).
|
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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user