summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d022460c197be7ca3044e45d71f6ca5f19b09e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: TwilightBlood <hwengerstickel@pm.me>
pkgname=pacstall
pkgver=1.7.1
pkgrel=3
pkgdesc="Pacstall is an AUR alternative for Ubuntu"
arch=('x86_64')
provides=("pacstall" "pacstall-bin")
url="https://pacstall.dev"
license=('GPL-3.0-only')
makedepends=('wget' 'stow' 'build-essential' 'unzip' 'bc' 'tree')
optdepends=('axel')
source=("https://github.com/pacstall/pacstall/archive/refs/tags/1.7.1.zip")
sha256sums=('79e6e3d95d0c949d836fd461576de5cc7bd18434c09968ba7348a4cf8e4733c2')

package() {
  cd "$srcdir"
  cd pacstall-1.7.1
  mkdir -p "${pkgdir}/var/log/pacstall/error_log"
  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"
  install -Dm755 misc/completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d"
  install -Dm755 misc/pacstall.8.gz "${pkgdir}/usr/share/man/man8"
  echo "https://raw.githubusercontent.com/pacstall/pacstall-programs/master" > "${pkgdir}/usr/share/pacstall/repo/pacstallrepo.txt"
}