From e0e10be15c8c0b50d456308ef687b487eba518f9 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Tue, 30 Jan 2024 10:39:38 -0500 Subject: [PATCH] Finished PKGBUILD --- PKGBUILD | 10 ++++++---- build.rs | 4 ---- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 build.rs diff --git a/PKGBUILD b/PKGBUILD index d69b114..e808df6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer: Pagwin 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" } diff --git a/build.rs b/build.rs deleted file mode 100644 index b39c218..0000000 --- a/build.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub fn main() { - println!("cargo:rustc-link-lib=git2"); - println!("cargo:rustc-link-lib=ssh2"); -}