makedeb


pacstall 2.0.1-69


Pacstall is the AUR alternative for Ubuntu

Click here to go back to the commit logs for pacstall.

Commit:


Hash: 8e97ccbfdaf3e94a932abb82063082c93089cf13

Message: Fix stuff per Wizards request

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 331e50b..f7f0b00 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,9 @@ pkgdesc="Pacstall is an AUR alternative for Ubuntu"
 arch=('x86_64')
 provides=("pacstall")
 url="https://pacstall.dev"
-license=('GPL')
-makedepends=('wget' 'axel' 'ripgrep' 'stow' 'build-essential' 'unzip' 'bc' 'tree')
+license=('GPL-3.0-only')
+makedepends=('wget' 'stow' 'build-essential' 'unzip' 'bc' 'tree')
+optdepends=('axel' 'ripgrep')
 source=("https://github.com/pacstall/pacstall/archive/refs/tags/1.5.1.zip")
 sha256sums=('72f1ff08841dc8c6b8ba826a6c827a761e13916ca51a438fa9fcc7e40805bbf9')
 
@@ -22,13 +23,7 @@ build() {
 package() {
   cd "$srcdir"
   cd pacstall-1.5.1
-  mkdir -p "${pkgdir}/bin"
-  mkdir -p "${pkgdir}/usr/share/pacstall/scripts"
-  mkdir -p "${pkgdir}/usr/share/pacstall/repo"
   mkdir -p "${pkgdir}/var/log/pacstall/error_log"
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
-  mkdir -p "${pkgdir}/usr/share/man/man8"
   install -Dm755 pacstall "${pkgdir}/bin"
   install -Dm755 misc/scripts/* "${pkgdir}/usr/share/pacstall/scripts"
   install -Dm755 misc/completions/bash "${pkgdir}/usr/share/bash-completion/completions"