Finished PKGBUILD

This commit is contained in:
Pagwin 2024-01-30 10:39:38 -05:00
parent 4e288efbf6
commit e0e10be15c
2 changed files with 6 additions and 8 deletions

View file

@ -1,3 +1,4 @@
# Maintainer: Pagwin <spam@pagwin.xyz>
pkgname='ppi-git'
_name='ppi'
pkgver='1.1.2'
@ -5,14 +6,14 @@ 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'
url='https://github.com/Pagwin-Fedora/ppi'
license=('MIT')
depends=('glibc' 'openssl' 'zlib' 'libssh2' 'libgit2')
depends=('glibc' 'openssl' 'zlib' 'gcc-libs')
makedepends=('git' 'rust')
makedepends=('git' 'rust' 'libssh2' 'libgit2')
#
provides=('ppi')
conflicts=('ppi')
@ -27,6 +28,7 @@ build(){
}
package(){
cd $_name
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
install -Dm755 target/release/ppi "$pkgdir/usr/bin/ppi"
}

View file

@ -1,4 +0,0 @@
pub fn main() {
println!("cargo:rustc-link-lib=git2");
println!("cargo:rustc-link-lib=ssh2");
}