ppi/PKGBUILD
Pagwin 4e288efbf6 Added License working on PKGBUILD
currently getting a link error due to libgit2
2024-01-30 09:52:56 -05:00

32 lines
718 B
Bash

pkgname='ppi-git'
_name='ppi'
pkgver='1.1.2'
pkgrel='1'
pkgdesc="Pagwin's project initializer, a program which makes setting up project scaffolding easy"
# I could set this to any or all the archictectures but I can't easily test for those so change this if needed
arch=('x86_64')
url='https://github.com/Pagwin-Fedora/ppi'
license=('MIT')
depends=('glibc' 'openssl' 'zlib' 'libssh2' 'libgit2')
makedepends=('git' 'rust' 'libssh2' 'libgit2')
#
provides=('ppi')
conflicts=('ppi')
source=("git+$url")
b2sums=('SKIP')
build(){
cd $_name
cargo build --release
}
package(){
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi"
}